Skip to content

Improve the error message on session creation#994

Merged
mykola-mokhnach merged 4 commits intoappium:masterfrom
mykola-mokhnach:err_msg
Aug 9, 2018
Merged

Improve the error message on session creation#994
mykola-mokhnach merged 4 commits intoappium:masterfrom
mykola-mokhnach:err_msg

Conversation

@mykola-mokhnach
Copy link
Copy Markdown
Contributor

Change list

Currently users are confused by the error message, which appears on sessions creation. This change should make the error more informative and easier to fix.

Types of changes

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Copy link
Copy Markdown
Member

@SrinivasanTarget SrinivasanTarget left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mykola-mokhnach Can you make checkstyle happy?

if (e.getCause() instanceof WebDriverException) {
message += " Please check the server log for more details.";
}
message += format(" Original error: %s", e.getCause().getMessage());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Contributor Author

@mykola-mokhnach mykola-mokhnach Aug 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed checkstyle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants