Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.2
-
None
-
Linux & Python 2.6
Description
Inside TSocket open(), _resolveAddr() calls getaddrinfo() which can throw socket.gaierror:
try: res0 = self._resolveAddr() ... except socket.error, e: ... raise TTransportException(TTransportException.NOT_OPEN, message)
This needs to be caught by the exception handler and translated into an appropriate TTransportException with as much detail as possible about the original socket.gaierror.
Attachments
Issue Links
- is related to
-
THRIFT-792 TSocket hides underlying exceptions when open() fails
- Open