Author: j16sdiz
Date: 2009-01-01 15:07:50 +0000 (Thu, 01 Jan 2009)
New Revision: 24867

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
logging

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java      2009-01-01 15:07:39 UTC (rev 
24866)
+++ trunk/plugins/XMLSpider/XMLSpider.java      2009-01-01 15:07:50 UTC (rev 
24867)
@@ -458,6 +458,9 @@
                        }
                        db.endThreadTransaction();
                        dbTransactionEnded = true;
+               } catch (Exception e) {
+                       Logger.error(this, "Unexcepected exception in 
onFailure(): " + e, e);
+                       throw new RuntimeException("Unexcepected exception in 
onFailure()", e);
                } finally {
                        runningFetch.remove(page);
                        if (!dbTransactionEnded)

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

Reply via email to