MCPcopy Index your code
hub / github.com/pyload/pyload / exceptHook

Function exceptHook

pyLoadCore.py:69–75  ·  view source on GitHub ↗
(exc_type, exc_value, exc_traceback)

Source from the content-addressed store, hash-verified

67
68
69def exceptHook(exc_type, exc_value, exc_traceback):
70 logger = logging.getLogger("log")
71 if issubclass(exc_type, KeyboardInterrupt):
72 sys.__excepthook__(exc_type, exc_value, exc_traceback)
73 return
74
75 logger.error("<<< UNCAUGHT EXCEPTION >>>", exc_info=(exc_type, exc_value, exc_traceback))
76
77
78class Core(object):

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected