summaryrefslogtreecommitdiffstats
path: root/bl
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-27 12:57:10 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-27 12:57:10 +0100
commit792ccc24949b66faa52bb68da8191b8a214bff36 (patch)
treee28c7da51eef121e41debc33a135706687d242f2 /bl
parent2ad09d158bcc8af4e756f42b06baab9ad0186239 (diff)
added more helpful debugging messages for feed creating and updating
Diffstat (limited to 'bl')
-rw-r--r--bl/feedbl.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/bl/feedbl.php b/bl/feedbl.php
index 3f9708234..9c594229a 100644
--- a/bl/feedbl.php
+++ b/bl/feedbl.php
@@ -85,7 +85,8 @@ class FeedBl extends Bl {
return $feed;
} catch(FetcherException $ex){
$this->api->log($ex->getMessage());
- throw new BLException('Can not add feed: Not found or bad source');
+ throw new BLException('Can not add feed with url' . $feedUrl .
+ ': Not found or bad source');
}
}
@@ -143,7 +144,8 @@ class FeedBl extends Bl {
} catch(FetcherException $ex){
// failed updating is not really a problem, so only log it
- $this->api->log('Can not update feed: Not found or bad source');
+ $this->api->log('Can not update feed with url' . $feed->getUrl() .
+ ': Not found or bad source');
}
}