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

500 error should be JSON or HTML based on requested mime type #18

Open
2 tasks
masukomi opened this issue Oct 27, 2022 · 0 comments
Open
2 tasks

500 error should be JSON or HTML based on requested mime type #18

masukomi opened this issue Oct 27, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@masukomi
Copy link
Owner

Right now the 500 error is always HTML which is ... kinda 🤦🏻‍♀️ considering most all of the calls are expecting JSON.

  • Convert it to JSON when that's the requested mime type
  • standardize & document the JSON returned by errors so that plugins can leverage the error messages.
@masukomi masukomi added enhancement New feature or request good first issue Good for newcomers labels Oct 27, 2022
@masukomi masukomi added this to the v2.0 milestone Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant