Remove RawConnError from exception handling

This commit is contained in:
NIC619 2019-12-24 21:57:13 +08:00
parent 8f52315816
commit a390d21385
No known key found for this signature in database
GPG Key ID: 570C35F5C2D51B17

View File

@ -58,5 +58,5 @@ class RawConnection(IRawConnection):
try: try:
await self.writer.wait_closed() await self.writer.wait_closed()
# In case the connection is already reset. # In case the connection is already reset.
except (ConnectionResetError, RawConnError): except ConnectionResetError:
return return