diff sat/tools/config.py @ 2836:ad00f61fd9f5

core (log): add traceback when "exc_info" is set
author Goffi <goffi@goffi.org>
date Sun, 03 Mar 2019 12:04:55 +0100
parents 6aa22011bc6d
children 121c4a2a567c
line wrap: on
line diff
--- a/sat/tools/config.py	Sun Mar 03 08:57:36 2019 +0100
+++ b/sat/tools/config.py	Sun Mar 03 12:04:55 2019 +0100
@@ -75,7 +75,7 @@
     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