holepunchto / hyperswarm

A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.07k stars 87 forks source link

Bugfix: remove initial error handler when a conn opens #180

Closed HDegroote closed 4 months ago

HDegroote commented 4 months ago

Previous behaviour still left the error handler there, swallowing all errors (due to removing a non-existing noop handler).

Warning: since it swallowed all errors, fixing this might cause upstream to 'break' in the sense that a previously hidden bug suddenly throws (I noticed this when a syntax error in an event handler didn't show up anywhere).