aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-07-04 11:21:53 +0100
committerGravatar jesopo2019-07-04 11:21:53 +0100
commit6014a2b0da8944860fd97a2c0dda4c5c93e17c8d (patch)
tree4523ce88e047c3be51ddcca4cd46008048178391 /modules
parentadd botset IntSetting for RSS interval (diff)
signature
WARN log when a RSS feed throws in _check_url
Diffstat (limited to 'modules')
-rw-r--r--modules/rss.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/rss.py b/modules/rss.py
index b0d14c27..d2aa60a4 100644
--- a/modules/rss.py
+++ b/modules/rss.py
@@ -79,7 +79,8 @@ class Module(ModuleManager.BaseModule):
try:
data = utils.http.request(url)
feed = feedparser.parse(data.data)
- except:
+ except Exception as e:
+ self.log.warn("failed to parse RSS %s", [url], exc_info=True)
feed = None
if not feed or not feed["feed"]:
return None