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

feat: call events.error handler from error callback #70

Conversation

whenlit
Copy link
Contributor

@whenlit whenlit commented Jun 28, 2022

Since the error event is not emitted by the underlying http-proxy when there is an error callback in place, add some code to manually call the error event handler if it is specified.

Fixes #69.

@vagusX vagusX merged commit b14e202 into vagusX:master Dec 5, 2022
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.

Error callback blocks all custom error handlers
2 participants