We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents debed34 + 0cecec5 commit 21264c5Copy full SHA for 21264c5
catalystwan/apigw_auth.py
@@ -86,7 +86,9 @@ def get_token(
86
except JSONDecodeError:
87
raise CatalystwanException(f"Incorrect response type from ApiGateway login request, ({response.text})")
88
except HTTPError as ex:
89
- raise CatalystwanException(f"Problem with connection to ApiGateway login endpoint, ({ex})")
+ raise CatalystwanException(
90
+ f"Problem with connection to ApiGateway login endpoint, ({ex}). Response: ({response.text})"
91
+ )
92
except KeyError as ex:
93
raise CatalystwanException(f"Not found token in login response from ApiGateway, ({ex})")
94
else:
0 commit comments