seems i completely forgot try/except syntax
This commit is contained in:
parent
95537378b4
commit
9c5c8cf563
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Module(ModuleManager.BaseModule):
|
|||
data = utils.http.request(url)
|
||||
feed = feedparser.parse(data.data)
|
||||
feed["feed"] or ValueError("Feed info empty")
|
||||
except e:
|
||||
except Exception as e:
|
||||
self.log.warn("Failed to GET RSS for %s: %s",
|
||||
[url, str(e)])
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue