diff --git a/heat/common/client.py b/heat/common/client.py index 5491b8f3fb..be465c85b5 100644 --- a/heat/common/client.py +++ b/heat/common/client.py @@ -529,9 +529,9 @@ class BaseClient(object): elif status_code in self.REDIRECT_RESPONSE_CODES: raise exception.RedirectException(res.getheader('Location')) elif status_code == httplib.UNAUTHORIZED: - raise exception.NotAuthorized(res.read()) + raise exception.NotAuthorized() elif status_code == httplib.FORBIDDEN: - raise exception.NotAuthorized(res.read()) + raise exception.NotAuthorized() elif status_code == httplib.NOT_FOUND: raise exception.NotFound(res.read()) elif status_code == httplib.CONFLICT: