From 28a60f5be255c6b6a1b05e981eb1ce9d8d10cbf0 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 6 Sep 2015 20:22:07 +0200 Subject: [PATCH] Fixes #1391 --- lib/utils/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/google.py b/lib/utils/google.py index faac0f751..800f366e8 100644 --- a/lib/utils/google.py +++ b/lib/utils/google.py @@ -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)