diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-02-04 03:09:39 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:29 +0100 |
commit | 69df00c19f3c358482243a9e2fff15b315cd8ff5 (patch) | |
tree | dcb15b04968629ee3d542f7dc7c52f101f20991a /libmproxy/protocol | |
parent | 07c36542f0ce12300b45b7c853bf52ff23a80fb6 (diff) | |
download | mitmproxy-69df00c19f3c358482243a9e2fff15b315cd8ff5.tar.gz mitmproxy-69df00c19f3c358482243a9e2fff15b315cd8ff5.tar.bz2 mitmproxy-69df00c19f3c358482243a9e2fff15b315cd8ff5.zip |
remove debug output
Diffstat (limited to 'libmproxy/protocol')
-rw-r--r-- | libmproxy/protocol/http.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index f0f84e4a..f3240b85 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -188,7 +188,7 @@ class HttpLayer(Layer): self.log("response", "debug", [repr(flow.response)]) flow = self.channel.ask("response", flow) - if not flow or flow == Kill: + if flow == Kill: raise Kill() self.send_response_to_client(flow) @@ -219,9 +219,6 @@ class HttpLayer(Layer): else: six.reraise(ProtocolException, ProtocolException( "Error in HTTP connection: %s" % repr(e)), sys.exc_info()[2]) - except Exception: - traceback.print_exc() - six.reraise(*sys.exc_info()[:3]) finally: flow.live = False |