Log URL when we fail to get a <title>
This commit is contained in:
parent
ed8761ed5c
commit
920c1d2cd8
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class Module(ModuleManager.BaseModule):
|
|||
except utils.http.HTTPWrongContentTypeException:
|
||||
return None
|
||||
except Exception as e:
|
||||
self.log.error("failed to get URL title", [], exc_info=True)
|
||||
self.log.error("failed to get URL title: %s", [url], exc_info=True)
|
||||
return None
|
||||
if page.data.title:
|
||||
title = page.data.title.text.replace("\n", " ").replace(
|
||||
|
|
Loading…
Reference in a new issue