Closed Bug 1326283 Opened 9 years ago Closed 9 years ago

send http 400 for bad data error

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(1 file)

We stopped eating exceptions in https://bugzilla.mozilla.org/show_bug.cgi?id=1281459, which caused an increase of 500s in Datadog. The vast majority of these are BadDataError, which means the client did something dumb (usually caused by people or addons doing dumb things with the update URL). We should send 400 for these instead of 500, since it is the client's fault.
Assignee: nobody → bhearsum
Attached file return 400
Attachment #8822517 - Flags: review?(rail)
Attachment #8822517 - Flags: review?(rail) → review+
Depends on: 1328282
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: