Closed Bug 809911 Opened 12 years ago Closed 12 years ago

Pass through error codes from mware to end user

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: laura, Assigned: peterbe)

References

Details

Instead of throwing a 500 in the webapp when we get a 4xx error in the mware, we should pass through the 4xx code, and show the user the status code and a friendly error message, while logging the full message from the mware.

Doing this should solve a few (not all) of the "blah throws a 500 error" bugs that are coming from the fuzzer, or at least give us more accurate information.
Note-to-self:
We'll proxy the 4xx errors and display this number instead of saying "Internal server error". We'll also proxy the 4xx status codes through django too.
Assignee: nobody → peterbe
Decided not to go down this route. Discussion is in the PR.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.