preparation for pyinstaller
This commit is contained in:
@@ -4,7 +4,7 @@ import traceback
|
||||
|
||||
def exception_handler(typ_exc, value, trbk):
|
||||
"""Testium Exception handling"""
|
||||
print("An unmanaged exception occured", exc_info=(typ_exc, value, trbk))
|
||||
print("An unmanaged exception occured")
|
||||
print(f"Critical failure : '{value}'.")
|
||||
tb = traceback.format_exception(typ_exc, value, trbk)
|
||||
print("".join(tb))
|
||||
|
||||
Reference in New Issue
Block a user