From 30f0ee40c51fc6bc911169f044677e235087161e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 11 Sep 2015 00:49:37 +0200 Subject: nicer error messages --- libmproxy/proxy/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmproxy/proxy') diff --git a/libmproxy/proxy/server.py b/libmproxy/proxy/server.py index c12bbbfa..91a12df9 100644 --- a/libmproxy/proxy/server.py +++ b/libmproxy/proxy/server.py @@ -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. -- cgit v1.2.3