diff --git a/warcprox/mitmproxy.py b/warcprox/mitmproxy.py index 154d30e..3c3f95b 100644 --- a/warcprox/mitmproxy.py +++ b/warcprox/mitmproxy.py @@ -133,7 +133,7 @@ class MitmProxyHandler(http_server.BaseHTTPRequestHandler): try: self._proxy_request() except: - self.logger.error("exception from {}".format(self._proxy_request), exc_info=True) + self.logger.error("exception proxying request", exc_info=True) raise def _proxy_request(self):