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

Non boom error thrown by input validator #168

Open
DanielAnfelt opened this issue Nov 29, 2019 · 0 comments
Open

Non boom error thrown by input validator #168

DanielAnfelt opened this issue Nov 29, 2019 · 0 comments

Comments

@DanielAnfelt
Copy link
Contributor

The input validation step throws an error which es replaced by hapi, as it does not have isBoom set to true. This masks the details of the validation error and gives you the default status code 400, instead of the expected 422.

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