-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fastify crashes when reply code is not recognized #2169
Comments
This is the application stack-trace
|
I have figured that |
Good catch! To reproduce we need to use this endpoint:
with In the earlier version 2.12, the code was simply set as the user wanted:
Moving this issue to the main repo as regression I think we should:
|
The bug that #2082 tried to fix is @leorossi would you be able to do a follow-up PR? |
Yes assign it to me please |
馃悰 Bug Report
Fastify crashes when reply code is not recognized.
To Reproduce
Steps to reproduce the behavior:
Run fastify server that returns an exotic response code.
Make a request to the server
The application crashes.
The HTTP response code is 500 and the response body is as follows.
Expected behavior
The application should not crash
Your Environment
The text was updated successfully, but these errors were encountered: