aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-07 14:44:29 +0100
committerGravatar jesopo2019-05-07 14:44:29 +0100
commit920c1d2cd8d5d51e2263c5f246b6e7167f743161 (patch)
tree5d9c815f85babadbaa5adb164122d8dbe9c5799d
parentChange !uuid to !uuid4 to be clear that it's a uuid4 being generated (diff)
signature
Log URL when we fail to get a <title>
-rw-r--r--modules/title.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/title.py b/modules/title.py
index c84b8637..ba2d946c 100644
--- a/modules/title.py
+++ b/modules/title.py
@@ -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(