diff options
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/protocol/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index bd850967..0d753e16 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -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__ |