Merge "Log reason for connection failed exception"

This commit is contained in:
Jenkins
2013-11-25 17:15:17 +00:00
committed by Gerrit Code Review

View File

@@ -149,6 +149,7 @@ class HTTPClient(httplib2.Http):
# Wrap the low-level connection error (socket timeout, redirect
# limit, decompression error, etc) into our custom high-level
# connection exception (it is excepted in the upper layers of code)
_logger.debug("throwing ConnectionFailed : %s", e)
raise exceptions.ConnectionFailed(reason=e)
finally:
# Temporary Fix for gate failures. RPC calls and HTTP requests