diff backend/couchdb/CouchDbBackend.py @ 214:b0de75d57e78

Merge with 1ac0b8e2feae3bd8336dded8247ae201b13d9ca1
author dirk
date Sat, 04 May 2013 06:23:20 +0200
parents 524cbf9e413c 1ac0b8e2feae
children bb3c851b18b1
line wrap: on
line diff
--- a/backend/couchdb/CouchDbBackend.py	Wed Nov 28 01:53:29 2012 +0100
+++ b/backend/couchdb/CouchDbBackend.py	Sat May 04 06:23:20 2013 +0200
@@ -108,7 +108,10 @@
         allFeeds = Feed.all(self.database)
         for feed in allFeeds:
             if feed.needsUpdate():
-                FeedUpdater(self.database, self.preferences()).update(feed)
+                try:
+                    FeedUpdater(self.database, self.preferences()).update(feed)
+                except Exception as ex:
+                    logging.getLogger("FeedUpdate").error("Exception during fetch: " + str(ex))
 
     def expireFeedEntries(self):
         expireDate = self._calculateExpireDate()