handle broken pipe error

This commit is contained in:
Alexander Bersenev
2020-02-17 12:18:13 +05:00
parent 1a63fdae11
commit 923dac842b

View File

@@ -1674,7 +1674,7 @@ async def handle_client_wrapper(reader, writer):
await handle_client(reader, writer) await handle_client(reader, writer)
except (asyncio.IncompleteReadError, asyncio.CancelledError): except (asyncio.IncompleteReadError, asyncio.CancelledError):
pass pass
except (ConnectionResetError, TimeoutError): except (ConnectionResetError, TimeoutError, BrokenPipeError):
pass pass
except Exception: except Exception:
traceback.print_exc() traceback.print_exc()