Commits

pudo committed a759792

catch more exception - is this correct?

Comments (0)

Files changed (1)

dcat/crawl/base.py

                 queue_entry = self.queue.get(True)
                 self.handle(queue_entry[1])
                 self.queue.task_done()
-            except TypeError:
-                pass
+            except Exception, e:
+                log.exception(e)
         
     def handle(self, queue_entry):
         try:
                 crawler.graph += graph
             crawler.run(**args)
         except Exception, e:
-            print e
             log.exception(e)
     
     def queue_put(self, graph, crawl_class, name, config,