mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
fix: succesfull echo example completed
This commit is contained in:
@ -299,9 +299,7 @@ class BasicHost(IHost):
|
||||
)
|
||||
except MultiselectError as error:
|
||||
peer_id = net_stream.muxed_conn.peer_id
|
||||
logger.debug(
|
||||
"failed to accept a stream from peer %s, error=%s", peer_id, error
|
||||
)
|
||||
print("failed to accept a stream from peer %s, error=%s", peer_id, error)
|
||||
await net_stream.reset()
|
||||
return
|
||||
if protocol is None:
|
||||
|
||||
Reference in New Issue
Block a user