Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

fix: catch thrown maConn errors in listener #122

Merged
merged 1 commit into from
Feb 14, 2020
Merged

Conversation

jacobheun
Copy link
Contributor

When upgrading sockets to MultiaddConnections, it's possible for an error to be thrown.
This can crash the application if a client disconnects prior to the listener
uprading the socket, as is likely occurring in #121. Errors will now be caught and logged
when attempting to upgrade the socket.

resolves #121

When upgrading sockets to MultiaddConnections, it's possible for an error to be thrown.
This can crash the application if a client disconnects prior to the listener
uprading the socket, as is likely occurring in #121. Errors will now be caught and logged
when attempting to upgrade the socket.
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.

UnhandledPromiseRejectionWarning caused by this module not catching validation errors
3 participants