mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
main.py: Don’t double print traceback
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user