I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 8225ce06 authored by zzz's avatar zzz
Browse files

* Console: Print stack trace if exception on startup

parent c2c379c9
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ public class RouterConsoleRunner { ...@@ -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 { ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment