Author: xor
Date: 2009-01-24 16:21:57 +0000 (Sat, 24 Jan 2009)
New Revision: 25277

Modified:
   trunk/freenet/src/freenet/support/TransferThread.java
Log:
Prevent the thread from dieing if iterate() throws.

Modified: trunk/freenet/src/freenet/support/TransferThread.java
===================================================================
--- trunk/freenet/src/freenet/support/TransferThread.java       2009-01-24 
16:21:05 UTC (rev 25276)
+++ trunk/freenet/src/freenet/support/TransferThread.java       2009-01-24 
16:21:57 UTC (rev 25277)
@@ -80,6 +80,9 @@
                                catch(InterruptedException e) {
                                        mThread.interrupt();
                                }
+                               catch(Exception e) {
+                                       Logger.error(this, "Error in iterate 
probably()", e);
+                               }
                        }
                }
                

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to