mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
beef up error messages
This commit is contained in:
parent
3a89c84eaf
commit
aab071380a
@ -947,7 +947,7 @@ class HTTPHandler(ProtocolHandler, TemporaryServerChangeMixin):
|
||||
err = "%s: %s" % (code, message)
|
||||
else:
|
||||
try:
|
||||
err = str(error)
|
||||
err = "%s: %s" % (error.__class__, str(error))
|
||||
except:
|
||||
err = error.__class__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user