forked from I2P_Developers/i2p.i2p
* i2psnark: Don't let connection problem crash the DirMonitor (ticket #495)
This commit is contained in:
@ -1102,8 +1102,12 @@ public class SnarkManager implements Snark.CompleteListener {
|
|||||||
_log.error("Error in the DirectoryMonitor", e);
|
_log.error("Error in the DirectoryMonitor", e);
|
||||||
}
|
}
|
||||||
if (doMagnets) {
|
if (doMagnets) {
|
||||||
addMagnets();
|
try {
|
||||||
doMagnets = false;
|
addMagnets();
|
||||||
|
doMagnets = false;
|
||||||
|
} catch (Exception e) {
|
||||||
|
_log.error("Error in the DirectoryMonitor", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
try { Thread.sleep(60*1000); } catch (InterruptedException ie) {}
|
try { Thread.sleep(60*1000); } catch (InterruptedException ie) {}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user