mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03: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)
|
||||
except (asyncio.IncompleteReadError, ConnectionResetError, TimeoutError):
|
||||
pass
|
||||
except:
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
finally:
|
||||
writer.transport.abort()
|
||||
|
||||
Reference in New Issue
Block a user