Skip to content

Commit

Permalink
feat(logging): Log more error cases with rss feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
do3cc committed Sep 22, 2015
1 parent 7871ad8 commit 6e8f590
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGES.rst
Expand Up @@ -111,7 +111,10 @@ Changelog
[thet]

- Use plone_layout for getIcon.
[pbauer]
- Log exceptions while parsing rss feeds. Get logged as info since
this often caused by factor out of control of site owners and
because the problem is handled in the UI
[do3cc]


3.0.2 (2014-10-23)
Expand Down
2 changes: 2 additions & 0 deletions plone/app/portlets/portlets/rss.py
Expand Up @@ -162,6 +162,8 @@ def _retrieveFeed(self):
ACCEPTED_FEEDPARSER_EXCEPTIONS)):
self._loaded = True # we tried at least but have a failed load
self._failed = True
logger.info('failed to update RSS feed %s',
d.get('bozo_exception', None))
return False
try:
self._title = d.feed.title
Expand Down

0 comments on commit 6e8f590

Please sign in to comment.