We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc660e commit aa2e084Copy full SHA for aa2e084
java/src/org/openqa/selenium/remote/RemoteWebDriver.java
@@ -574,11 +574,11 @@ protected Response execute(CommandPayload payload) {
574
} else {
575
// When this exception comes from a remote end, the real cause is usually hidden in the
576
// cause. Let's try to rescue it and display it at the top level.
577
- String cause = e.getCause() != null ? e.getCause().getMessage() : "";
+ String cause = e.getCause() != null ? " " + e.getCause().getMessage() : "";
578
toThrow =
579
new SessionNotCreatedException(
580
"Possible causes are invalid address of the remote server or browser start-up"
581
- + " failure. "
+ + " failure."
582
+ cause,
583
e);
584
}
0 commit comments