Commit 427d3140 authored by Andy Wilkinson's avatar Andy Wilkinson

Remove unwanted printing of stack trace from the Launcher

Previously, the Launcher would call ex.printStackTrace for any
exception that was thrown when launching the application. This was
unnecessary as the stack trace should already have been logged by
the application when it failed to start.

This commit removes the call to ex.printStackTrace, thereby allowing
an exception to be logged only once or not at all after successful
failure analysis.

Closes gh-5358
parent ff509eec
...@@ -58,7 +58,6 @@ public abstract class Launcher { ...@@ -58,7 +58,6 @@ public abstract class Launcher {
launch(args, getMainClass(), classLoader); launch(args, getMainClass(), classLoader);
} }
catch (Exception ex) { catch (Exception ex) {
ex.printStackTrace();
System.exit(1); System.exit(1);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment