aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol2/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/protocol2/http.py')
-rw-r--r--libmproxy/protocol2/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol2/http.py b/libmproxy/protocol2/http.py
index 649e7843..e3878fa6 100644
--- a/libmproxy/protocol2/http.py
+++ b/libmproxy/protocol2/http.py
@@ -279,7 +279,7 @@ class HttpLayer(Layer):
if isinstance(e, ProtocolException):
raise e
else:
- raise ProtocolException(repr(e), e)
+ raise ProtocolException("Error in HTTP connection: %s" % repr(e), e)
finally:
flow.live = False