diff --git a/lib/request/connect.py b/lib/request/connect.py index 1c7000368..367675b1c 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -243,7 +243,7 @@ class Connect: elif "timeout" in tbMsg: warnMsg = "connection timed out to the target url" elif "BadStatusLine" in tbMsg: - debugMsg = "BadStatusLine: %s || %s || %d" % (tbMsg, e, e.line) + debugMsg = "BadStatusLine: %s || %s || %s" % (tbMsg, e, e.line) logger.debug(debugMsg) warnMsg = "the target url responded with an unknown HTTP "