MCPcopy
hub / github.com/mitmproxy/mitmproxy / __init__

Method __init__

mitmproxy/addons/errorcheck.py:19–23  ·  view source on GitHub ↗
(self, repeat_errors_on_stderr: bool = False)

Source from the content-addressed store, hash-verified

17 """
18
19 def __init__(self, repeat_errors_on_stderr: bool = False) -> None:
20 self.repeat_errors_on_stderr = repeat_errors_on_stderr
21
22 self.logger = ErrorCheckHandler()
23 self.logger.install()
24
25 def finish(self):
26 self.logger.uninstall()

Callers 1

__init__Method · 0.45

Calls 2

ErrorCheckHandlerClass · 0.85
installMethod · 0.80

Tested by

no test coverage detected