From a962fcf434319fbfce766e4672ebad0eaf549bec Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 14 Nov 2019 13:22:11 +0000 Subject: [PATCH] dont print full stacktrace when getting a url's title fails --- modules/title.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/title.py b/modules/title.py index 4a69e96d..2a74470a 100644 --- a/modules/title.py +++ b/modules/title.py @@ -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: