Don't create socializer.exe.log, save log errors to log file instead. Closes #27

This commit is contained in:
Manuel Cortez 2019-01-21 04:51:59 -06:00
parent 993f49c0a0
commit 357ccca819
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* Added experimental support to "subscribers" buffer, inside frienship requests. This shows friend requests that have been declined by the current user.
* Fixed an error in Socializer that was making it unable to detect unread messages properly.
* Socializer should save all tracebacks directly to error.log instead of displaying an error message during exit. ([#27,](https://code.manuelcortez.net/manuelcortez/socializer/issues/27))
## Changes in version 0.18 (21.01.2019)

View File

@ -14,7 +14,8 @@ import output
import logging
import keys
import application
#sys.excepthook = lambda x, y, z: logging.critical(''.join(traceback.format_exception(x, y, z)))
if hasattr(sys, "frozen"):
sys.excepthook = lambda x, y, z: logging.critical(''.join(traceback.format_exception(x, y, z)))
from mysc.thread_utils import call_threaded
from wxUI import commonMessages