summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/res/pub/utils/restcall.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res/pub/utils/restcall.py b/res/res/pub/utils/restcall.py
index 852bf0b..a609a9a 100644
--- a/res/res/pub/utils/restcall.py
+++ b/res/res/pub/utils/restcall.py
@@ -69,6 +69,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)
except:
logger.error(traceback.format_exc())
ret = [4, str(sys.exc_info()), resp_status]