Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log source file and line info for errors in ErrorMiddleware when poss…
…ible (#3187) * Make ErrorMiddleware report source location (file, function, line) if available from the given error (will always be available on Abort errors). Don't hold a lock while doing a JSON encode. * Improve the correctness of the error messages provided for DecodingErrors. Update tests accordingly. * Don't use hardcoded strings where not necessary
- Loading branch information
Showing
3 changed files
with
44 additions
and
53 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