Re-wrap APIWhitelistError as 404

RESOLVED INVALID

Status

RESOLVED INVALID
3 years ago
2 years ago

People

(Reporter: peterbe, Assigned: peterbe)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
If you guess the API URL by typing in a class that is not in the documentation but that is in the source code you get a APIWhitelistError. 

E.g. https://sentry.prod.mozaws.net/operations/socorro-prod/issues/330226/

We should re-write these as 404 errors.
(Assignee)

Comment 2

3 years ago
The Sentry link and is misleading. See https://bugzilla.mozilla.org/show_bug.cgi?id=1271281 
The attached PR is still valid.
(Assignee)

Comment 3

2 years ago
The bug is invalid as per the concluded discussion in the PR.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.