chore: log cleanup

This commit is contained in:
Akash Mondal
2025-07-04 06:40:22 +00:00
committed by lla-dane
parent 03bf071739
commit 0f64bb49b5
7 changed files with 56 additions and 85 deletions

View File

@ -299,7 +299,9 @@ class BasicHost(IHost):
)
except MultiselectError as error:
peer_id = net_stream.muxed_conn.peer_id
print("failed to accept a stream from peer %s, error=%s", peer_id, error)
logger.debug(
"failed to accept a stream from peer %s, error=%s", peer_id, error
)
await net_stream.reset()
return
if protocol is None: