diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2013-06-10 19:47:56 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2013-06-10 19:47:56 -0400 |
commit | 35557e3a355ca8508266ff383b7b581bd6a23dae (patch) | |
tree | d58bb75b02c2e769d967a79465aa6322a0a5a2b3 | |
parent | 24226d69f906f0064909c820f8c66e2242206b8e (diff) |
url in feed init error msg
-rw-r--r-- | businesslayer/feedbusinesslayer.php | 2 | ||||
-rw-r--r-- | utility/feedfetcher.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/businesslayer/feedbusinesslayer.php b/businesslayer/feedbusinesslayer.php index 2370be9c9..05448d7f6 100644 --- a/businesslayer/feedbusinesslayer.php +++ b/businesslayer/feedbusinesslayer.php @@ -196,7 +196,7 @@ class FeedBusinessLayer extends BusinessLayer { } catch(FetcherException $ex){ // failed updating is not really a problem, so only log it - $this->api->log('Can not update feed with url' . $existingFeed->getUrl() . + $this->api->log('Can not update feed with url ' . $existingFeed->getUrl() . ': Not found or bad source'); $this->api->log($ex->getMessage()); } diff --git a/utility/feedfetcher.php b/utility/feedfetcher.php index e4a9019ac..2ab671482 100644 --- a/utility/feedfetcher.php +++ b/utility/feedfetcher.php @@ -83,7 +83,7 @@ class FeedFetcher implements IFeedFetcher { $simplePie->set_cache_duration($this->cacheDuration); if (!$simplePie->init()) { - throw new FetcherException('Could not initialize simple pie'); + throw new FetcherException('Could not initialize simple pie on feed with url ' . $url); } |