mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
remove debug output
This commit is contained in:
parent
07c36542f0
commit
69df00c19f
@ -188,7 +188,7 @@ class HttpLayer(Layer):
|
|||||||
|
|
||||||
self.log("response", "debug", [repr(flow.response)])
|
self.log("response", "debug", [repr(flow.response)])
|
||||||
flow = self.channel.ask("response", flow)
|
flow = self.channel.ask("response", flow)
|
||||||
if not flow or flow == Kill:
|
if flow == Kill:
|
||||||
raise Kill()
|
raise Kill()
|
||||||
self.send_response_to_client(flow)
|
self.send_response_to_client(flow)
|
||||||
|
|
||||||
@ -219,9 +219,6 @@ class HttpLayer(Layer):
|
|||||||
else:
|
else:
|
||||||
six.reraise(ProtocolException, ProtocolException(
|
six.reraise(ProtocolException, ProtocolException(
|
||||||
"Error in HTTP connection: %s" % repr(e)), sys.exc_info()[2])
|
"Error in HTTP connection: %s" % repr(e)), sys.exc_info()[2])
|
||||||
except Exception:
|
|
||||||
traceback.print_exc()
|
|
||||||
six.reraise(*sys.exc_info()[:3])
|
|
||||||
finally:
|
finally:
|
||||||
flow.live = False
|
flow.live = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user