From 5ecf73d03246145453bb6f43598ace6fedc0fe66 Mon Sep 17 00:00:00 2001 From: "kirill.turutin" Date: Fri, 8 Jan 2021 11:31:40 +0300 Subject: [PATCH] Tmp logging --- .../src/main/resources/mitmproxy/http_connect_capture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browserup-proxy-core/src/main/resources/mitmproxy/http_connect_capture.py b/browserup-proxy-core/src/main/resources/mitmproxy/http_connect_capture.py index 8213d26b1..372647c75 100644 --- a/browserup-proxy-core/src/main/resources/mitmproxy/http_connect_capture.py +++ b/browserup-proxy-core/src/main/resources/mitmproxy/http_connect_capture.py @@ -140,7 +140,7 @@ def error(self, flow): original_error = HttpConnectCaptureAddOn.get_original_exception(flow.error) self.har_dump_addon.populate_har_entry_with_default_response(flow) - + ctx.log.info("Error hook called: " + str(original_error)) if self.is_dns_resolution_error(str(original_error)): self.proxy_to_server_resolution_failed(flow, req_host_port, original_error) elif isinstance(original_error, TcpTimeout):