forked from I2P_Developers/i2p.i2p
* Console: Fix /peers table summary alignment
* I2CP: - Don't NPE when loglevel=warn - Don't enforce property length limits when inside router JVM * I2PSnark: Log uncaught error in ThreadedStarter to router log * I2PThread: Log uncaught error to wrapper log
This commit is contained in:
@ -1863,6 +1863,14 @@ public class SnarkManager implements CompleteListener {
|
||||
private final Snark snark;
|
||||
public ThreadedStarter(Snark s) { snark = s; }
|
||||
public void run() {
|
||||
try {
|
||||
run2();
|
||||
} catch (Exception e) {
|
||||
_log.error("Error starting", e);
|
||||
}
|
||||
}
|
||||
|
||||
private void run2() {
|
||||
if (snark != null) {
|
||||
if (snark.isStopped())
|
||||
snark.startTorrent();
|
||||
|
Reference in New Issue
Block a user