Error log failure to get title of a url (title.py)

This commit is contained in:
jesopo 2019-01-21 14:39:20 +00:00
parent 8bf8097dd7
commit 381e0ae336

View file

@ -23,7 +23,9 @@ class Module(ModuleManager.BaseModule):
try:
page = utils.http.request(url, soup=True)
except:
except Exception as e:
self.log.error("failed to get URL title", exc_info=True)
page = None
pass
if not page: