diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-23 23:17:53 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-23 23:17:53 +0200 |
commit | 2e0c3c7e3cca18c119860663be94f3aa28f34bf3 (patch) | |
tree | a7864d18a61296a4b138f2363b70f9fe71a34103 /service/feedservice.php | |
parent | cb0393a24aa669c583ce3d7001d41e2203f5a476 (diff) |
catch all exceptions for feed update to not stop on db errors
Diffstat (limited to 'service/feedservice.php')
-rw-r--r-- | service/feedservice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/feedservice.php b/service/feedservice.php index 6c8d90033..cb8d4f7cc 100644 --- a/service/feedservice.php +++ b/service/feedservice.php @@ -161,7 +161,7 @@ class FeedService extends Service { foreach($feeds as $feed){ try { $this->update($feed->getId(), $feed->getUserId()); - } catch(ServiceNotFoundException $ex){ + } catch(\Exception $ex){ $this->logger->debug('Could not update feed ' . $ex->getMessage(), $this->loggerParams); } |