summaryrefslogtreecommitdiffstats
path: root/mgr/mgr/pub/utils/restcall.py
diff options
context:
space:
mode:
Diffstat (limited to 'mgr/mgr/pub/utils/restcall.py')
-rw-r--r--mgr/mgr/pub/utils/restcall.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mgr/mgr/pub/utils/restcall.py b/mgr/mgr/pub/utils/restcall.py
index 3e948a2..567361b 100644
--- a/mgr/mgr/pub/utils/restcall.py
+++ b/mgr/mgr/pub/utils/restcall.py
@@ -70,6 +70,7 @@ def call_req(base_url, user, passwd, auth_type, resource, method, content=''):
if 'httplib.ResponseNotReady' in res_info:
res_info = "The URL[%s] request failed or is not responding." % full_url
ret = [3, res_info, resp_status]
+ logger.debug(ex)
logger.debug("[%s]ret=%s" % (callid, str(ret)))
return ret