MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / ErrorCheckHandler

Class ErrorCheckHandler

mitmproxy/addons/errorcheck.py:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49class ErrorCheckHandler(log.MitmLogHandler):
50 def __init__(self) -> None:
51 super().__init__(logging.ERROR)
52 self.has_errored: list[logging.LogRecord] = []
53
54 def emit(self, record: logging.LogRecord) -> None:
55 self.has_errored.append(record)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…