mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Fixes #1391
This commit is contained in:
parent
aee4c93c8b
commit
28a60f5be2
|
@ -99,7 +99,7 @@ class Google(object):
|
||||||
warnMsg += "to get error page information (%d)" % e.code
|
warnMsg += "to get error page information (%d)" % e.code
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
return None
|
return None
|
||||||
except (urllib2.URLError, socket.error, socket.timeout):
|
except (urllib2.URLError, httplib.error, socket.error, socket.timeout):
|
||||||
errMsg = "unable to connect to Google"
|
errMsg = "unable to connect to Google"
|
||||||
raise SqlmapConnectionException(errMsg)
|
raise SqlmapConnectionException(errMsg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user