Add empty params
arg to log call (title.py)
This commit is contained in:
parent
730a4e6b87
commit
8bbfd1d1c3
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
try:
|
try:
|
||||||
page = utils.http.request(url, soup=True)
|
page = utils.http.request(url, soup=True)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log.error("failed to get URL title", exc_info=True)
|
self.log.error("failed to get URL title", [], exc_info=True)
|
||||||
return None
|
return None
|
||||||
if page.data.title:
|
if page.data.title:
|
||||||
return page.data.title.text.replace("\n", " ").replace(
|
return page.data.title.text.replace("\n", " ").replace(
|
||||||
|
|
Loading…
Reference in a new issue