mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-14 07:13:09 +00:00
nicer exception printing
This commit is contained in:
@@ -1491,7 +1491,7 @@ async def handle_client_wrapper(reader, writer):
|
|||||||
await handle_client(reader, writer)
|
await handle_client(reader, writer)
|
||||||
except (asyncio.IncompleteReadError, ConnectionResetError, TimeoutError):
|
except (asyncio.IncompleteReadError, ConnectionResetError, TimeoutError):
|
||||||
pass
|
pass
|
||||||
except:
|
except Exception:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
finally:
|
finally:
|
||||||
writer.transport.abort()
|
writer.transport.abort()
|
||||||
|
|||||||
Reference in New Issue
Block a user