From 4114308193462a7422bcdb83495b3696847b744e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 10 Jul 2014 22:39:24 +0200 Subject: [PATCH] Log exception on invalid config --- qutebrowser/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index bb93a6706..d61a1f087 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -185,6 +185,7 @@ class Application(QApplication): configparser.DuplicateSectionError, configparser.DuplicateOptionError, configparser.ParsingError) as e: + log.init.exception(e) errstr = "Error while reading config:" if hasattr(e, 'section') and hasattr(e, 'option'): errstr += "\n\n{} -> {}:".format(e.section, e.option)