This commit is contained in:
Miroslav Stampar 2015-09-06 20:22:07 +02:00
parent aee4c93c8b
commit 28a60f5be2

View File

@ -99,7 +99,7 @@ class Google(object):
warnMsg += "to get error page information (%d)" % e.code
logger.critical(warnMsg)
return None
except (urllib2.URLError, socket.error, socket.timeout):
except (urllib2.URLError, httplib.error, socket.error, socket.timeout):
errMsg = "unable to connect to Google"
raise SqlmapConnectionException(errMsg)