Patch for an Issue #935

This commit is contained in:
Miroslav Stampar 2014-11-14 00:21:04 +01:00
parent 74eacf95fd
commit d8d9678947

View File

@ -152,7 +152,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:
errMsg = "unable to connect to DuckDuckGo"
raise SqlmapConnectionException(errMsg)