fix: succesfull echo example completed

This commit is contained in:
Akash Mondal
2025-07-01 12:24:57 +00:00
committed by lla-dane
parent 8f0cdc9ed4
commit 6c45862fe9
8 changed files with 199 additions and 83 deletions

View File

@ -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: