From 792ccc24949b66faa52bb68da8191b8a214bff36 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 27 Mar 2013 12:57:10 +0100 Subject: added more helpful debugging messages for feed creating and updating --- bl/feedbl.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bl') 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'); } } -- cgit v1.2.3