Closed Bug 1195406 Opened 9 years ago Closed 9 years ago

BadArgumentErrors need to become 400 Bad Requests in public web API

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

References

Details

Attachments

(1 file)

Now that SuperSearch and SuperSearchFields talk directly to socorro.external.es we need to re-package and BadArgumentError and MissingArgumentError into a 400 Bad Request. 

We used to do that when these were executed via the middleware.
Assignee: nobody → peterbe
Blocks: 1188083
Summary: BadArgumentErrors need to become 400 Bad Requests → BadArgumentErrors need to become 400 Bad Requests in public web API
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/bacc2b404eba655ba2f3f4119d68e4607c1642dc
fixes bug 1195406 - BadArgumentErrors need to become 400 Bad Requests

https://github.com/mozilla/socorro/commit/24c57afc28c7543de65204ab9f3d7e2f2ee653de
Merge pull request #2956 from peterbe/bug-1195406-badargumenterrors-need-to-become-400-bad-requests

fixes bug 1195406 - BadArgumentErrors need to become 400 Bad Requests
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: