mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-11 03:13:42 +00:00
nicer exception printing
This commit is contained in:
1 parent
56bfab51d5
commit
d34a15bca3
1 file changed
+1
-1
+1
-1
@@ -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