dont print full stacktrace when getting a url's title fails
This commit is contained in:
parent
e17e439530
commit
a962fcf434
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
except utils.http.HTTPWrongContentTypeException:
|
except utils.http.HTTPWrongContentTypeException:
|
||||||
return -1, None
|
return -1, None
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log.error("failed to get URL title: %s", [url], exc_info=True)
|
self.log.error("failed to get URL title for %s: %s", [url, str(e)])
|
||||||
return -1, None
|
return -1, None
|
||||||
|
|
||||||
if page.data.title:
|
if page.data.title:
|
||||||
|
|
Loading…
Reference in a new issue