summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-08-05 17:38:34 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-08-05 17:38:34 +0200
commit1a74a758f9811a621e636f53d7393dae01199337 (patch)
tree9f301dbfdc4850e252ea3205aa5c95447146355e /external
parentd0bce145e7a5be8f06c8875b2de7c41d164d9d57 (diff)
also log errors when updating with update script
Diffstat (limited to 'external')
-rw-r--r--external/feedapi.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/external/feedapi.php b/external/feedapi.php
index 684769c6e..fa0f27f7c 100644
--- a/external/feedapi.php
+++ b/external/feedapi.php
@@ -214,7 +214,10 @@ class FeedAPI extends Controller {
try {
$this->feedBusinessLayer->update($feedId, $userId);
// ignore update failure (feed could not be reachable etc, we dont care)
- } catch(BusinessLayerException $ex) {}
+ } catch(\Exception $ex) {
+ $this->api->log('Could not update feed ' . $ex->getMessage(),
+ 'debug');
+ }
return new JSONResponse();
}