[datafeed] catch all exception, we should continue to process other urls
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 22 Jun 2011 12:31:55 +0200
changeset 7548 92fd4b777016
parent 7547 3d654a7df823
child 7552 82dde8276a5b
[datafeed] catch all exception, we should continue to process other urls
server/sources/datafeed.py
--- a/server/sources/datafeed.py	Tue Jun 21 17:49:32 2011 +0200
+++ b/server/sources/datafeed.py	Wed Jun 22 12:31:55 2011 +0200
@@ -191,7 +191,7 @@
             try:
                 if parser.process(url, raise_on_error):
                     error = True
-            except IOError, exc:
+            except Exception, exc:
                 if raise_on_error:
                     raise
                 self.error('could not pull data while processing %s: %s',