Closed Bug 1186903 Opened 10 years ago Closed 10 years ago

[Super Search Fields] Raise Bad Request errors on error

Categories

(Socorro Graveyard :: Middleware, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

References

()

Details

We want the Super Search Fields middleware service to raise Bad Request errors and not Internal errors when something goes wrong because of the user's input, first because it makes sense, and second because this way the errors will be shown in the webapp, instead of a confusing "something went wrong" page that just doesn't help.
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/8466cd5bb70713aedca06b6561cadbc04721aa82 Fixes bug 1186903 - Raise BadArgumentError when on errors due to the user's input. https://github.com/mozilla/socorro/commit/0beeef8b28c5b5b7b1045de54a7d05e8ec7118ed Merge pull request #2909 from AdrianGaudebert/1186903-bad-argument-error-fields Fixes bug 1186903 - Raise BadArgumentError when on errors due to the …
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.