main.py: Don’t double print traceback

This commit is contained in:
Mykola Grymalyuk
2023-02-04 17:25:00 -07:00
parent 43ef3e18ec
commit baf25319d7

View File

@@ -56,7 +56,6 @@ class OpenCoreLegacyPatcher:
# TODO: Support thread exceptions
def custom_excepthook(type, value, tb):
logging.error("Uncaught exception", exc_info=(type, value, tb))
traceback.print_exception(type, value, tb)
sys.excepthook = custom_excepthook