* Console: Print stack trace if exception on startup
This commit is contained in:
@ -75,7 +75,7 @@ public class RouterConsoleRunner {
|
|||||||
_server = new Server();
|
_server = new Server();
|
||||||
boolean rewrite = false;
|
boolean rewrite = false;
|
||||||
Properties props = webAppProperties();
|
Properties props = webAppProperties();
|
||||||
if (props.size() <= 0) {
|
if (props.isEmpty()) {
|
||||||
props.setProperty(PREFIX + ROUTERCONSOLE + ENABLED, "true");
|
props.setProperty(PREFIX + ROUTERCONSOLE + ENABLED, "true");
|
||||||
rewrite = true;
|
rewrite = true;
|
||||||
}
|
}
|
||||||
@ -161,6 +161,7 @@ public class RouterConsoleRunner {
|
|||||||
"If so, you may ignore this error, or remove the\n" +
|
"If so, you may ignore this error, or remove the\n" +
|
||||||
"\"::1,\" in the \"clientApp.0.args\" line of the clients.config file.\n" +
|
"\"::1,\" in the \"clientApp.0.args\" line of the clients.config file.\n" +
|
||||||
"Exception: " + me);
|
"Exception: " + me);
|
||||||
|
me.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (baseHandler != null) {
|
if (baseHandler != null) {
|
||||||
|
Reference in New Issue
Block a user