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

return API exceptions as JSON #8

Open
bmesuere opened this issue Aug 14, 2019 · 1 comment
Open

return API exceptions as JSON #8

bmesuere opened this issue Aug 14, 2019 · 1 comment

Comments

@bmesuere
Copy link
Member

Original issue by @bmesuere on Fri Aug 22 2014 at 14:52.

@bmesuere
Copy link
Member Author

this needs more thought:

  • when in develop mode, html exceptions are fine
  • when in production mode, error mails with all info + short response are needed

Each error needs to be specified separately: http://guides.rubyonrails.org/v2.3.11/action_controller_overview.html#rescue

Original comment by @bmesuere on Wed Aug 27 2014 at 14:11.

@pverscha pverscha transferred this issue from unipept/unipept Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant