diff options
author | Maximilian Hils <git@maximilianhils.com> | 2018-05-25 13:22:52 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2018-05-25 13:22:52 +0200 |
commit | b6123eede65f870061c5440027b0af5ced826ffe (patch) | |
tree | f779a67ccc1f4ea5b7866c0fccba4881d04b46d0 /mitmproxy/proxy | |
parent | 76c056affdad6a8f57a523534c56a50524c8f7e9 (diff) | |
download | mitmproxy-b6123eede65f870061c5440027b0af5ced826ffe.tar.gz mitmproxy-b6123eede65f870061c5440027b0af5ced826ffe.tar.bz2 mitmproxy-b6123eede65f870061c5440027b0af5ced826ffe.zip |
minor changes to stay in sync with sans-io
Diffstat (limited to 'mitmproxy/proxy')
-rw-r--r-- | mitmproxy/proxy/protocol/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/proxy/protocol/http.py b/mitmproxy/proxy/protocol/http.py index 66390e15..2ae656b3 100644 --- a/mitmproxy/proxy/protocol/http.py +++ b/mitmproxy/proxy/protocol/http.py @@ -291,7 +291,7 @@ class HttpLayer(base.Layer): self.channel.ask("error", f) raise exceptions.ProtocolException( "HTTP protocol error in client request: {}".format(e) - ) + ) from e self.log("request", "debug", [repr(request)]) |