diff options
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/protocol/http.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index 4426a541..aeb12656 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -635,11 +635,7 @@ class HttpLayer(Layer): try: response = make_error_response(code, message) self.send_response(response) - except Exception as e: - self.log( - "error: %s" % repr(e), - level="debug" - ) + except NetlibException, h2.exceptions.H2Error: pass def change_upstream_proxy_server(self, address): |