Skip to content

Conversation

Prinzhorn
Copy link
Contributor

@Prinzhorn Prinzhorn commented Apr 26, 2021

fixes #119

I basically duplicated the other test and removed the async keyword. Without the fix the test would timeout.

Checklist

@Prinzhorn Prinzhorn changed the title Run error handler when an error occurs in a non-async handler, fixes … Run error handler when an error occurs in a non-async handler Apr 26, 2021
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 5012f71 into fastify:master Apr 28, 2021
@Prinzhorn Prinzhorn deleted the error-handler branch April 28, 2021 08:19
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

Successfully merging this pull request may close these issues.

An error inside the WebSocket handler results in "Reply was already sent" and not the actual error

3 participants