diff --git a/qiniu/http.py b/qiniu/http.py index 6d239808..f55b80e1 100644 --- a/qiniu/http.py +++ b/qiniu/http.py @@ -105,6 +105,7 @@ def _get(url, params, auth, headers=None): timeout=config.get_default('connection_timeout'), headers=get_headers) except Exception as e: + print(e) return None, ResponseInfo(None, e) return __return_wrapper(r) diff --git a/qiniu/services/cdn/manager.py b/qiniu/services/cdn/manager.py index a49cc7ed..bc506013 100644 --- a/qiniu/services/cdn/manager.py +++ b/qiniu/services/cdn/manager.py @@ -320,7 +320,7 @@ def domain_list(self, limit=10, marker=None): p = dict(limit=limit) if marker: p['marker']=marker - return self.__get("domain", p)[0] + return self.__get(f"{self.server}/domain", p)[0] def __post(self, url, data=None):