summaryrefslogtreecommitdiffstats
path: root/zte/vmanager
diff options
context:
space:
mode:
Diffstat (limited to 'zte/vmanager')
-rw-r--r--zte/vmanager/driver/pub/utils/restcall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/zte/vmanager/driver/pub/utils/restcall.py b/zte/vmanager/driver/pub/utils/restcall.py
index cc3985ad..74724e16 100644
--- a/zte/vmanager/driver/pub/utils/restcall.py
+++ b/zte/vmanager/driver/pub/utils/restcall.py
@@ -70,7 +70,9 @@ def call_req(base_url, user, passwd, auth_type, resource, method, content=''):
res_info = str(sys.exc_info())
if 'httplib.ResponseNotReady' in res_info:
res_info = "The URL[%s] request failed or is not responding." % full_url
+ logger.debug(ex)
ret = [3, res_info, resp_status]
+
except:
logger.error(traceback.format_exc())
ret = [4, str(sys.exc_info()), resp_status]