yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47770
[Bug 1525472] Re: Taking into account the exception with status_code
has been fixed in this patch: https://review.openstack.org/#/c/256140/35
** Changed in: horizon
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1525472
Title:
Taking into account the exception with status_code
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
When an exception occurs in ajax[1], we get status code from only two
kinds of exceptions: exception with property 'http_status' or 'code'.
To make it easier to distinguish between different error, we should take
into account the exception with 'status_code', such as NotAuthorized[2].
[1]: https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/rest/utils.py#L136
[2]: https://github.com/openstack/horizon/blob/master/horizon/exceptions.py#L119
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1525472/+subscriptions
References