server/sources/datafeed.py
changeset 7548 92fd4b777016
parent 7534 d58a9d96aad8
child 7552 82dde8276a5b
equal deleted inserted replaced
7547:3d654a7df823 7548:92fd4b777016
   189         for url in urls:
   189         for url in urls:
   190             self.info('pulling data from %s', url)
   190             self.info('pulling data from %s', url)
   191             try:
   191             try:
   192                 if parser.process(url, raise_on_error):
   192                 if parser.process(url, raise_on_error):
   193                     error = True
   193                     error = True
   194             except IOError, exc:
   194             except Exception, exc:
   195                 if raise_on_error:
   195                 if raise_on_error:
   196                     raise
   196                     raise
   197                 self.error('could not pull data while processing %s: %s',
   197                 self.error('could not pull data while processing %s: %s',
   198                            url, exc)
   198                            url, exc)
   199                 error = True
   199                 error = True