core (log): add traceback when "exc_info" is set

This commit is contained in:
Goffi 2019-03-03 12:04:55 +01:00
commit 04f485057b

View file

@ -75,7 +75,7 @@ def parseMainConf():
try:
config.read(C.CONFIG_FILES)
except Exception as e:
log.error(_(u"Can't read main config: {msg}").format(msg=e))
log.error(_(u"Can't read main config: {msg}").format(msg=e), exc_info=True)
return config