mirror of
https://github.com/logos-storage/bittorrent-tracker.git
synced 2026-01-03 13:33:08 +00:00
Handle peer 'error' events that are fired *before* the peer is emitted in a 'peer' event. Once the peer is emitted in a 'peer' event, then it's the consumer's responsibility to listen for errors. This fixes the most common error in WebTorrent Desktop according to our telemetry.