Author: toad
Date: 2008-01-18 13:04:41 +0000 (Fri, 18 Jan 2008)
New Revision: 17132

Modified:
   trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java
Log:
logging

Modified: trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java
===================================================================
--- trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java      
2008-01-18 12:58:32 UTC (rev 17131)
+++ trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java      
2008-01-18 13:04:41 UTC (rev 17132)
@@ -65,7 +65,8 @@
                        if(finished) return;
                        finished = true;
                        if(e != null && this.e != null && this.e != e) {
-                               Logger.error(this, "Completing with "+e+" but 
already set "+this.e);
+                               if(!(e.getMode() == InsertException.CANCELLED)) 
// Cancelled is okay, ignore it, we cancel after failure sometimes.
+                                       Logger.error(this, "Completing with 
"+e+" but already set "+this.e);
                        }
                        if(e == null) e = this.e;
                }


Reply via email to