diff options
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | appinfo/info.xml | 2 | ||||
-rw-r--r-- | appinfo/version | 2 | ||||
-rw-r--r-- | businesslayer/feedbusinesslayer.php | 9 |
4 files changed, 8 insertions, 6 deletions
@@ -1,5 +1,6 @@ ownCloud-news (1.202) * Fixed a bug in the API routes that would request an uneeded id when creating a feed +* Log unimportant errors on debug level instead of error level ownCloud-news (1.201) * Add shortcut 'o' which opens the current article in a new tab diff --git a/appinfo/info.xml b/appinfo/info.xml index 973d0b2ef..03a3f5bf2 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,6 +5,6 @@ <description>An RSS/Atom feed reader. Requires the App Framework app and backgroundjobs need to be enabled. See the README.rst in the apps top directory</description> <licence>AGPL</licence> <author>Alessandro Cosentino, Bernhard Posselt, Jan-Christoph Borchardt. Powered by SimplePie (Ryan Parman, Geoffrey Sneddon, Ryan McCue and contributors).</author> - <version>1.201</version> + <version>1.202</version> <require>5.0.6</require> </info> diff --git a/appinfo/version b/appinfo/version index 6ef5c8c48..0cf512b11 100644 --- a/appinfo/version +++ b/appinfo/version @@ -1 +1 @@ -1.201 +1.202 diff --git a/businesslayer/feedbusinesslayer.php b/businesslayer/feedbusinesslayer.php index 2d61dfe61..d3b32d1c6 100644 --- a/businesslayer/feedbusinesslayer.php +++ b/businesslayer/feedbusinesslayer.php @@ -118,7 +118,7 @@ class FeedBusinessLayer extends BusinessLayer { return $feed; } catch(FetcherException $ex){ - $this->api->log($ex->getMessage()); + $this->api->log($ex->getMessage(), 'debug'); throw new BusinessLayerException( $this->api->getTrans()->t( 'Can not add feed: URL does not exist or has invalid xml')); @@ -136,7 +136,8 @@ class FeedBusinessLayer extends BusinessLayer { try { $this->update($feed->getId(), $feed->getUserId()); } catch(BusinessLayerException $ex){ - $this->api->log('Could not update feed ' . $ex->getMessage()); + $this->api->log('Could not update feed ' . $ex->getMessage(), + 'debug'); } } } @@ -180,8 +181,8 @@ 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() . - ': Not found or bad source'); - $this->api->log($ex->getMessage()); + ': Not found or bad source', 'debug'); + $this->api->log($ex->getMessage(), 'debug'); } return $this->mapper->find($feedId, $userId); |