From 13b7eb869600f524e71d86172774d96265217914 Mon Sep 17 00:00:00 2001 From: Alberto Caso Date: Sun, 16 Dec 2018 21:08:31 +0100 Subject: [PATCH] Fix typo when capturing client initialization exceptions --- hpe3parclient/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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