diff --git a/cs/client.py b/cs/client.py index ff5e6fd..61ffd99 100644 --- a/cs/client.py +++ b/cs/client.py @@ -371,7 +371,9 @@ def _response_value(self, response, json=True): if response.status_code != 200: raise CloudStackApiException( - f"HTTP {response.status_code} response from CloudStack" + f"HTTP {response.status_code} response from CloudStack", + error=data, + response=response, ) return data