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

Skip to content
Snippets Groups Projects
Commit 7ea2be38 authored by zzz's avatar zzz
Browse files

Better exception message, so it's in the router log

parent 81cb62fd
No related branches found
No related tags found
No related merge requests found
...@@ -90,6 +90,9 @@ public class I2PThread extends Thread { ...@@ -90,6 +90,9 @@ public class I2PThread extends Thread {
System.out.println("Check ulimit -u, /etc/security/limits.conf, or /proc/sys/kernel/threads-max"); System.out.println("Check ulimit -u, /etc/security/limits.conf, or /proc/sys/kernel/threads-max");
} }
oom.printStackTrace(); oom.printStackTrace();
if (!(SystemVersion.isWindows() || SystemVersion.isAndroid()))
throw new RuntimeException("Thread could not be started, " +
"Check ulimit -u, /etc/security/limits.conf, or /proc/sys/kernel/threads-max", oom);
throw new RuntimeException("Thread could not be started", oom); throw new RuntimeException("Thread could not be started", oom);
} }
} }
......
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