Author: toad
Date: 2008-01-18 12:16:38 +0000 (Fri, 18 Jan 2008)
New Revision: 17126

Modified:
   trunk/freenet/src/freenet/client/async/SingleBlockInserter.java
Log:
better error reporting

Modified: trunk/freenet/src/freenet/client/async/SingleBlockInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SingleBlockInserter.java     
2008-01-18 00:09:50 UTC (rev 17125)
+++ trunk/freenet/src/freenet/client/async/SingleBlockInserter.java     
2008-01-18 12:16:38 UTC (rev 17126)
@@ -294,7 +294,7 @@
                                if(parent.isCancelled())
                                        fail(new 
InsertException(InsertException.CANCELLED));
                                else
-                                       fail(new 
InsertException(InsertException.BUCKET_ERROR));
+                                       fail(new 
InsertException(InsertException.BUCKET_ERROR, "Empty block", null));
                                return false;
                        }
                } catch (LowLevelPutException e) {


Reply via email to