Author: toad
Date: 2009-01-31 17:46:38 +0000 (Sat, 31 Jan 2009)
New Revision: 25449

Modified:
   branches/db4o/freenet/src/freenet/client/FECQueue.java
Log:
Log the error here and let the rest commit


Modified: branches/db4o/freenet/src/freenet/client/FECQueue.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/FECQueue.java      2009-01-31 
17:35:58 UTC (rev 25448)
+++ branches/db4o/freenet/src/freenet/client/FECQueue.java      2009-01-31 
17:46:38 UTC (rev 25449)
@@ -222,6 +222,8 @@
                                                                                
job.callback.onDecodedSegment(container, clientContext, job, job.dataBlocks, 
job.checkBlocks, job.dataBlockStatus, job.checkBlockStatus);
                                                                        else
                                                                                
job.callback.onEncodedSegment(container, clientContext, job, job.dataBlocks, 
job.checkBlocks, job.dataBlockStatus, job.checkBlockStatus);
+                                                                       } catch 
(Throwable t) {
+                                                                               
Logger.error(this, "Caught "+t+" in FECQueue callback", t);
                                                                        } 
finally {
                                                                                
// Always delete the job, even if the callback throws.
                                                                                
container.delete(job);

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

Reply via email to