Handle socket errors (the same as socket closure)
authorMatt Corallo <git@bluematt.me>
Mon, 15 Aug 2022 15:24:52 +0000 (15:24 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 15 Aug 2022 15:24:52 +0000 (15:24 +0000)
commit13f5bf1de0bfaeda8b846c2c2e10d16aaefdbffb
treee336cf3097bb8dcf517b8fe4c4fa3f5044d83bbf
parentd4ebc8460b78ba0e16bdc07fe2e53851686ac352
Handle socket errors (the same as socket closure)

`gr0kchain` on Discord reported that not handling "error" causes
us to get unhandled exceptions, so we have to handle it.
node-net/net.mts