summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mgr/mgr/pub/utils/restcall.py1
-rw-r--r--mgr/requirements.txt4
2 files changed, 3 insertions, 2 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
diff --git a/mgr/requirements.txt b/mgr/requirements.txt
index 2639383..b5feec6 100644
--- a/mgr/requirements.txt
+++ b/mgr/requirements.txt
@@ -1,6 +1,6 @@
# rest framework
Django==2.1.10
-djangorestframework==3.9.4
+djangorestframework==3.10.0
# for access MySQL
PyMySQL==0.9.3
@@ -21,7 +21,7 @@ unittest_xml_reporting==1.12.0
# for auto swagger
ruamel.yaml==0.15.97
-drf-yasg==1.16.0
+drf-yasg==1.17.0
flex>=6.11.1
swagger-spec-validator>=2.1.0