diff --git a/lib/request/connect.py b/lib/request/connect.py index e2ee9112f..8f27ce237 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -205,7 +205,7 @@ class Connect: except socket.timeout: page, responseHeaders = None, None warnMsg = "connection timed out while trying " - warnMsg += "to get error page information" + warnMsg += "to get error page information (%d)" % e.code logger.warn(warnMsg) return None, None code = e.code