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

fix: catch error from maConn.close #128

Merged
merged 1 commit into from
Apr 28, 2020
Merged

Conversation

jacobheun
Copy link
Contributor

MultiaddrConnection.close can throw an error and we weren't catching that. We should be catching and logging for inbound connections, which this does.

discovered at ipfs/js-ipfs#2964

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

LGTM

@jacobheun jacobheun merged commit 0fe0815 into master Apr 28, 2020
@jacobheun jacobheun deleted the fix/handle-close-failure branch April 28, 2020 12:34
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.

2 participants