mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
nicer error messages
This commit is contained in:
parent
d1bc966e5b
commit
30f0ee40c5
@ -116,7 +116,7 @@ class ConnectionHandler(object):
|
||||
except Kill:
|
||||
self.log("Connection killed", "info")
|
||||
except ProtocolException as e:
|
||||
self.log(e, "info")
|
||||
self.log(repr(e), "info")
|
||||
# If an error propagates to the topmost level,
|
||||
# we send an HTTP error response, which is both
|
||||
# understandable by HTTP clients and humans.
|
||||
|
Loading…
Reference in New Issue
Block a user