Tracebacks will be logged to error.log instead creating socializer.exe.log
This commit is contained in:
parent
0ab5b873f1
commit
be6fb7bd75
@ -2,6 +2,7 @@
|
||||
import logger
|
||||
import sys
|
||||
import fixes
|
||||
import traceback
|
||||
if hasattr(sys, "frozen"):
|
||||
fixes.setup()
|
||||
import platform
|
||||
@ -13,6 +14,7 @@ import output
|
||||
import logging
|
||||
import keys
|
||||
import application
|
||||
sys.excepthook = lambda x, y, z: logging.critical(''.join(traceback.format_exception(x, y, z)))
|
||||
from mysc.thread_utils import call_threaded
|
||||
|
||||
log = logging.getLogger("main")
|
||||
|
Loading…
Reference in New Issue
Block a user