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

Do not trigger errorHandler when reply.sent === true (async handlers) #2774

Merged
merged 1 commit into from
Jan 3, 2021

Conversation

vichle
Copy link
Contributor

@vichle vichle commented Jan 3, 2021

This is a fix for issue #2653

Test is a bit of copy-pasta, I'm not sure I understand exactly how it works so let me know if I should change anything, this is my first contribution. I'm also unsure how to interpret the output of the benchmark tests, let me know if there's a problem 🙃

Checklist

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 5e0e674 into fastify:master Jan 3, 2021
@vichle vichle deleted the fix/2653 branch January 11, 2021 07:10
@github-actions
Copy link

github-actions bot commented Feb 4, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants