-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug-1892787: handle case where Bugzilla returns bad payload (#6785)
Sometimes Bugzilla returns an HTTP 200 with JSON content, but it doesn't have "bugs" in it. Rather than throw an HTTP 500 because of an unhandled KeyError, this changes the code to raise a BugzillaRestHTTPUnexpectedError with the payload it did get. This will give us a better idea of what's happening so we can figure out what to do about it if anything.
- Loading branch information
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters