MCPcopy
hub / github.com/tonquer/JMComic-qt / excepthook

Function excepthook

src/start.py:107–110  ·  view source on GitHub ↗
(exc_type, exc_value, exc_tb)

Source from the content-addressed store, hash-verified

105
106 oldHook = sys.excepthook
107 def excepthook(exc_type, exc_value, exc_tb):
108 tb = "".join(traceback.format_exception(exc_type, exc_value, exc_tb))
109 Log.Error(tb)
110 showError2(tb, app)
111
112 sys.excepthook = excepthook
113 signal.signal(signal.SIGINT, signal.SIG_DFL)

Callers

nothing calls this directly

Calls 2

showError2Function · 0.90
ErrorMethod · 0.80

Tested by

no test coverage detected