better exception on bug, thanks Jonathan

This commit is contained in:
mdipierro committed 2012-06-27 18:02:32 -05:00
1 parent 0f8a29daeb
commit dad67c761a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-06-27 17:45:06) dev Version 2.00.0 (2012-06-27 18:02:29) dev
+1 -1
View File
@@ -1375,7 +1375,7 @@ class Worker(Thread):
except socket.timeout: except socket.timeout:
raise SocketTimeout("Socket timed out before request.") raise SocketTimeout("Socket timed out before request.")
except TypeError: except TypeError:
raise SocketTimeout("Socket timed out before request.") raise SocketClosed("ssl bug caused closer of socket, upgrade to python 2.7")
d = d.strip() d = d.strip()