Convert UserWarning to oops

Bug #636700 reported by Robert Collins
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

We use UserWarning to report things like:
/srv/edge.launchpad.net/edge/launchpad-rev-11522/lib/lp/registry/model/projectgroup.py:429: UserWarning: shortlist() should not be used here. It's meant to listify sequences with no more than 15 items. There were 30 items.

However the stdout/stderr of the appservers is not automatically examined and analyzed, and request context is lost doing this.

Rather than a warning, this should be attached to an OOPS, and any request that hits this should generate an oops (but doesn't need to fail the request).

Gary Poster (gary)
tags: added: oops-infrastructure
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Medium
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Medium → Low
Changed in launchpad:
status: Triaged → Won't Fix
status: Won't Fix → Triaged
summary: - Convert UserWarning to soft oops
+ Convert UserWarning to oops
description: updated
Changed in launchpad:
importance: Low → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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