EntryResource._applyChanges()'s exceptions may be caught and turned into 404 responses

Bug #230061 reported by Guilherme Salgado
2
Affects Status Importance Assigned to Milestone
lazr.restful
Triaged
Low
Unassigned

Bug Description

That method may raise a ComponentLookupError (subclass of NotFoundError). If that happens, the exception is propagated up the chain until it's caught and turned into a 404 making it extremely difficult to find out what went wrong.

Tags: api
Changed in launchpad:
status: New → Confirmed
affects: launchpad-foundations → lazr.restful
Changed in lazr.restful:
importance: Undecided → Medium
status: Confirmed → Triaged
Gary Poster (gary)
Changed in lazr.restful:
importance: Medium → 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.