Exception handler no longer hooked
Handler needs work
This commit is contained in:
parent
10c3c1a47c
commit
7c7aefeddc
@ -6,7 +6,7 @@ def preloadExceptionHandler(exc_type, exc_value, tb):
|
|||||||
traceback.print_exception(exc_type, exc_value, tb)
|
traceback.print_exception(exc_type, exc_value, tb)
|
||||||
input("\nPress ENTER to exit.")
|
input("\nPress ENTER to exit.")
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
sys.excepthook = preloadExceptionHandler
|
#sys.excepthook = preloadExceptionHandler
|
||||||
|
|
||||||
#Imports and variables
|
#Imports and variables
|
||||||
import ctypes
|
import ctypes
|
||||||
@ -91,7 +91,7 @@ def exceptionHandler(exc_type, exc_value, tb):
|
|||||||
exceptionCleanup()
|
exceptionCleanup()
|
||||||
input()
|
input()
|
||||||
|
|
||||||
sys.excepthook = exceptionHandler
|
#sys.excepthook = exceptionHandler
|
||||||
|
|
||||||
#Modloader
|
#Modloader
|
||||||
def cloneMods(modDir):
|
def cloneMods(modDir):
|
||||||
|
Loading…
Reference in New Issue
Block a user