From af7fe808b16bd7b446cde8576beb20e24164bcae Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 13 Nov 2013 22:06:35 -0500 Subject: [PATCH] Log reason for connection failed exception Change-Id: Idfdf43762fc3bd9abef33110cccd37d2d2f50df4 --- neutronclient/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutronclient/client.py b/neutronclient/client.py index ec45dba21..da67ba52c 100644 --- a/neutronclient/client.py +++ b/neutronclient/client.py @@ -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