Expose classes of exceptions with webservice_error() instead of calling export() on each instance.

Bug #728507 reported by Leonard Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

There are a few places in Launchpad where we call lazr.restful.error.expose() on exception instances to make them yield a 400 response code instead of an OOPS. This was necessary because the mechanisms for associating response codes with entire classes of exception didn't work. I've fixed those mechanisms in lazr.restful and we're ready to get rid of the expose() hacks.

Tags: api tech-debt
tags: added: api tech-debt
Changed in launchpad:
status: New → Triaged
importance: Undecided → Wishlist
Changed in launchpad:
importance: Wishlist → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.