summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-08-05 16:39:09 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-08-05 16:39:09 +0200
commitcb33a80b60b16942132cb356badaf9d18b0ca696 (patch)
tree0a0e2965938c23cd7c34492a17a4ae034aaf5803 /external
parentf58dff275919263182fa740f05f9fd9213e30138 (diff)
ignore update errors when using the update script
Diffstat (limited to 'external')
-rw-r--r--external/feedapi.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/external/feedapi.php b/external/feedapi.php
index 8eabd6942..684769c6e 100644
--- a/external/feedapi.php
+++ b/external/feedapi.php
@@ -213,11 +213,9 @@ class FeedAPI extends Controller {
try {
$this->feedBusinessLayer->update($feedId, $userId);
- return new JSONResponse();
- } catch(BusinessLayerException $ex) {
- return new JSONResponse(array('message' => $ex->getMessage()),
- Http::STATUS_NOT_FOUND);
- }
+ // ignore update failure (feed could not be reachable etc, we dont care)
+ } catch(BusinessLayerException $ex) {}
+ return new JSONResponse();
}