Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Server API to return accurate error codes instead of all 500 errors for exceptions #14

Open
CBielstein opened this issue May 21, 2022 · 0 comments
Labels
bug Something isn't working cleanliness Refactors, tweaks, and improvements to code quality documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@CBielstein
Copy link
Owner

Follow something like this: https://docs.microsoft.com/en-us/aspnet/core/web-api/handle-errors?view=aspnetcore-6.0#use-exceptions-to-modify-the-response

Acceptance Criteria:

  • Update the tests (marked with TODOs with this issue)
  • Ensure 400 errors are returned for argument errors
@CBielstein CBielstein added bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers cleanliness Refactors, tweaks, and improvements to code quality labels May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cleanliness Refactors, tweaks, and improvements to code quality documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant