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

When getting DB errors that aren't constraints violations, they get returned to the user as constraint violation errors. #60

Open
zbigniewzolnierowicz opened this issue Aug 20, 2024 — with Linear · 0 comments
Labels

Comments

Copy link
Owner

Steps to reproduce:

  1. Attempt to call the recipe insertion endpoint with a name longer than 255 characters.
  2. Look at the resulting error

This is caused by faulty error handling code that only accounts for constraint violations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant