More generic patch for an Issue #994

This commit is contained in:
Miroslav Stampar 2014-12-07 16:14:48 +01:00
parent 4e7f835eae
commit 20c272b77d

View File

@ -543,7 +543,7 @@ class Connect(object):
warnMsg = "connection timed out to the target URL"
elif "URLError" in tbMsg or "error" in tbMsg:
warnMsg = "unable to connect to the target URL"
elif "unpack requires a string argument of length 4" in tbMsg:
elif "NTLM" in tbMsg:
warnMsg = "there has been a problem with NTLM authentication"
elif "BadStatusLine" in tbMsg:
warnMsg = "connection dropped or unknown HTTP "