parent
cd20ac985a
commit
9fc8a1106d
|
@ -37,8 +37,10 @@ def configureLogging():
|
||||||
try:
|
try:
|
||||||
logging.config.fileConfig(os.path.join (shared.appdata, 'logging.dat'))
|
logging.config.fileConfig(os.path.join (shared.appdata, 'logging.dat'))
|
||||||
have_logging = True
|
have_logging = True
|
||||||
|
print "Loaded debug config from %s" % (os.path.join(shared.appdata, 'logging.dat'))
|
||||||
except:
|
except:
|
||||||
pass
|
print "Failed to load debug config from %s, using default logging config" % (os.path.join(shared.appdata, 'logging.dat'))
|
||||||
|
print sys.exc_info()
|
||||||
|
|
||||||
sys.excepthook = log_uncaught_exceptions
|
sys.excepthook = log_uncaught_exceptions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user