Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rack/middleware: default to 500 instead of 0 if code can't be found
When `ActionDispatch::ExceptionWrapper` fails to return a code for an exception, then it returns 0. This confuses our backend, so we should convert that into 500 as the most reasonable default value.
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 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
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