mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-04 06:33:10 +00:00
end multiplex read loop on exception
This commit is contained in:
parent
cc2072d290
commit
68eb142a7c
@ -143,6 +143,7 @@ proc handle*(m: MultisteamSelect, conn: Connection) {.async, gcsafe.} =
|
||||
return
|
||||
except Exception as exc:
|
||||
warn "exception while handling ", msg = exc.msg
|
||||
return
|
||||
warn "no handlers for ", protocol = ms
|
||||
await conn.write(m.na)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user