diff --git a/hpe3parclient/client.py b/hpe3parclient/client.py index 282820f6..2036916d 100644 --- a/hpe3parclient/client.py +++ b/hpe3parclient/client.py @@ -200,7 +200,7 @@ def __init__(self, api_url, debug=False, secure=False, timeout=None, try: api_version = self.getWsApiVersion() - except exceptions as ex: + except exceptions.ClientException as ex: ex_desc = ex.get_description() if (ex_desc and ("Unable to find the server at" in ex_desc or