mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Remove RawConnError from exception handling
This commit is contained in:
@ -58,5 +58,5 @@ class RawConnection(IRawConnection):
|
||||
try:
|
||||
await self.writer.wait_closed()
|
||||
# In case the connection is already reset.
|
||||
except (ConnectionResetError, RawConnError):
|
||||
except ConnectionResetError:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user