summaryrefslogtreecommitdiffstats
path: root/service/feedservice.php
diff options
context:
space:
mode:
Diffstat (limited to 'service/feedservice.php')
-rw-r--r--service/feedservice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/feedservice.php b/service/feedservice.php
index f3c64373d..a6ebc27cb 100644
--- a/service/feedservice.php
+++ b/service/feedservice.php
@@ -267,11 +267,13 @@ class FeedService extends Service {
// mark feed as successfully updated
$existingFeed->setUpdateErrorCount(0);
+ $existingFeed->setLastUpdateError('');
} catch(FetcherException $ex){
$existingFeed->setUpdateErrorCount(
$existingFeed->getUpdateErrorCount()+1
);
+ $existingFeed->setLastUpdateError($ex->getMessage());
}
$this->feedMapper->update($existingFeed);