dont print full stacktrace when getting a url's title fails

This commit is contained in:
jesopo 2019-11-14 13:22:11 +00:00
parent e17e439530
commit a962fcf434

View file

@ -54,7 +54,7 @@ class Module(ModuleManager.BaseModule):
except utils.http.HTTPWrongContentTypeException:
return -1, None
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
if page.data.title: