minor debug update (probably temporary)

This commit is contained in:
Miroslav Stampar 2010-11-05 11:04:00 +00:00
parent 3f0a443b83
commit 5f7f4bf15b

View File

@ -243,6 +243,9 @@ 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)
logger.debug(debugMsg)
warnMsg = "the target url responded with an unknown HTTP "
warnMsg += "status code, try to force the HTTP User-Agent "
warnMsg += "header with option --user-agent or -a"