diff --git a/libp2p/transports/wstransport.nim b/libp2p/transports/wstransport.nim index e68331c..3a8a5c7 100644 --- a/libp2p/transports/wstransport.nim +++ b/libp2p/transports/wstransport.nim @@ -238,6 +238,10 @@ method accept*(self: WsTransport): Future[Connection] {.async, gcsafe.} = raise exc except TransportOsError as exc: debug "OS Error", exc = exc.msg + except WebSocketError as exc: + debug "Websocket Error", exc = exc.msg + except AsyncStreamError as exc: + debug "AsyncStream Error", exc = exc.msg except TransportTooManyError as exc: debug "Too many files opened", exc = exc.msg except TransportUseClosedError as exc: