Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,18 @@ public void onStart(ISuite suite) {
TestManagementReporter.getInstance().onSuiteStart();

} catch (Exception e) {
// Abort entire suite on bootstrap failure
// Abort entire suite on bootstrap failure — log the full cause chain first
// so the root cause stays visible in normal Maven/TestNG/Surefire output,
// where only the wrapper message is otherwise shown.
System.err.println(
"[Selenium Boot] Initialization failed: "
+ "Selenium Boot failed to initialize. Aborting test suite execution.");
System.err.println("[Selenium Boot] Cause: " + e);
Throwable cause = e.getCause();
while (cause != null) {
System.err.println("[Selenium Boot] Caused by: " + cause);
cause = cause.getCause();
}
throw new IllegalStateException(
"Selenium Boot failed to initialize. Aborting test suite execution.", e);
}
Expand Down
Loading