Skip to content

Conversation

@boenrobot
Copy link

Right now, if there is a connection failure, there is no way to handle it in any custom way. You only get the log in the rejection promise and that's it.

This PR changes it so that the close event is emitted even on connection failures, with $reason = "unreachable".

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.

1 participant