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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to