remove debug output

This commit is contained in:
Maximilian Hils 2016-02-04 03:09:39 +01:00 committed by Thomas Kriechbaumer
parent 07c36542f0
commit 69df00c19f

View File

@ -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