Author: robert
Date: 2007-12-28 17:19:55 +0000 (Fri, 28 Dec 2007)
New Revision: 16827

Modified:
   trunk/freenet/src/freenet/node/InsertHandler.java
Log:
logging: demote common receive failure (disconnection)


Modified: trunk/freenet/src/freenet/node/InsertHandler.java
===================================================================
--- trunk/freenet/src/freenet/node/InsertHandler.java   2007-12-28 16:51:18 UTC 
(rev 16826)
+++ trunk/freenet/src/freenet/node/InsertHandler.java   2007-12-28 17:19:55 UTC 
(rev 16827)
@@ -439,7 +439,8 @@
                 try {
                     source.sendSync(msg, InsertHandler.this);
                 } catch (NotConnectedException ex) {
-                    Logger.error(this, "Can't send "+msg+" to "+source+": 
"+ex);
+                                       //If they are not connected, that's 
probably why the receive failed!
+                    if (logMINOR) Logger.minor(this, "Can't send "+msg+" to 
"+source+": "+ex);
                 }
                 if(logMINOR) Logger.minor(this, "Failed to retrieve: "+e, e);
                 return;


Reply via email to