diff options
Diffstat (limited to 'onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py')
-rw-r--r-- | onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py b/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py index c1193d9..d02b1d1 100644 --- a/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py +++ b/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py @@ -66,8 +66,8 @@ def _get_path(path): res.text, ) raise CantGetConfig(res.status_code, res.text) - except requests.exceptions.ConnectionError: # this is thrown if requests.get cant even connect to the endpoint - raise CBSUnreachable() + except requests.exceptions.ConnectionError as e: # this is thrown if requests.get cant even connect to the endpoint + raise CBSUnreachable(e) ######### |