Exceptions should be more meaningful than what boto raises
Bug #766362 reported by
Todd Willey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-adminclient |
New
|
Undecided
|
Unassigned |
Bug Description
In the openstack-dashboard apps we are rescuing from EC2ResponseError and checking the 'reason' field. If it is "Forbidden" we raise PermissionDenied, and otherwise raise NovaResponseError. We should generalize this to all adminclient requests so consumers of this library can have more explicit except clauses. See lp:openstack-dashboard file django-
To post a comment you must log in.