Author: toad
Date: 2008-06-27 00:16:46 +0000 (Fri, 27 Jun 2008)
New Revision: 20808

Modified:
   branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
Logging

Modified: 
branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-06-27 00:15:07 UTC (rev 20807)
+++ branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-06-27 00:16:46 UTC (rev 20808)
@@ -579,7 +579,7 @@
                                                        if(logMINOR) 
Logger.minor(this, "Calling callback for "+transientGets[i]+" for "+key);
                                                        
transientGets[i].onGotKey(key, block, null, clientContext);
                                                } catch (Throwable t) {
-                                                       Logger.error(this, 
"Caught "+t+" running callback "+transientGets[i]+" for "+key);
+                                                       Logger.error(this, 
"Caught "+t+" running callback "+transientGets[i]+" for "+key, t);
                                                }
                                        }
                                }
@@ -610,7 +610,7 @@
                                                if(logMINOR) Logger.minor(this, 
"Calling callback for "+gets[i]+" for "+key);
                                                gets[i].onGotKey(key, block, 
container, context);
                                        } catch (Throwable t) {
-                                               Logger.error(this, "Caught 
"+t+" running callback "+gets[i]+" for "+key);
+                                               Logger.error(this, "Caught 
"+t+" running callback "+gets[i]+" for "+key, t);
                                        }
                                }
                                if(logMINOR) Logger.minor(this, "Finished 
running callbacks");


Reply via email to