[datafeed] actually raise on error
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 17 Jun 2011 18:49:55 +0200
changeset 7533 43835fbdf97d
parent 7532 76914c7ba1b0
child 7534 d58a9d96aad8
[datafeed] actually raise on error
server/sources/datafeed.py
--- a/server/sources/datafeed.py	Fri Jun 17 16:36:52 2011 +0200
+++ b/server/sources/datafeed.py	Fri Jun 17 18:49:55 2011 +0200
@@ -304,6 +304,8 @@
         try:
             parsed = self.parse(url)
         except Exception, ex:
+            if raise_on_error:
+                raise
             self.source.error(str(ex))
             return True
         error = False