Exception handler no longer hooked

Handler needs work
This commit is contained in:
Fierelier 2018-09-28 19:59:23 +02:00
parent 10c3c1a47c
commit 7c7aefeddc

View File

@ -6,7 +6,7 @@ def preloadExceptionHandler(exc_type, exc_value, tb):
traceback.print_exception(exc_type, exc_value, tb)
input("\nPress ENTER to exit.")
sys.exit(-1)
sys.excepthook = preloadExceptionHandler
#sys.excepthook = preloadExceptionHandler
#Imports and variables
import ctypes
@ -91,7 +91,7 @@ def exceptionHandler(exc_type, exc_value, tb):
exceptionCleanup()
input()
sys.excepthook = exceptionHandler
#sys.excepthook = exceptionHandler
#Modloader
def cloneMods(modDir):