Skip to content

Commit

Permalink
nicer exception printing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbers committed Aug 23, 2019
1 parent 56bfab5 commit d34a15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtprotoproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d34a15b

Please sign in to comment.