From f4467ac0ed364385c0cd16309406167a529f3d39 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 22 Jan 2019 22:06:25 +0000 Subject: [PATCH] Log a WARN when we get a HTTPTimeoutException while we're trying to get a git.io short url (github) --- modules/github/module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/github/module.py b/modules/github/module.py index 73b0ea98..7766c18d 100644 --- a/modules/github/module.py +++ b/modules/github/module.py @@ -340,6 +340,8 @@ class Module(ModuleManager.BaseModule): post_data={"url": url}) return page.headers["Location"] except utils.http.HTTPTimeoutException: + self.log.warn( + "HTTPTimeoutException while waiting for github short URL") return url def ping(self, event, data):