Closed sapphon closed 9 months ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
6 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Overview
This PR changes the way RetroQuest's API reports errors.
Previously, RetroQuest API placed error details in the
reason
field of the HTTP status object transmitted as part of the response to the failed request. This is off-spec behavior, but more importantly: many browsers and other tools discard status reasons, as they are redundant - they should always correspond to the status code. 404 is always "Not Found", 409 is always "Conflict", etc. These are not meant to change per application!After this PR is applied, RetroQuest will put error messages in the body of the response, under the
reason
field.Testing Instructions