WARN log when a RSS feed throws in _check_url
This commit is contained in:
parent
130b5d1927
commit
6014a2b0da
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue