diff --git a/TODO b/TODO index cdb9aac70..a979c3ae8 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,6 @@ Bugs ==== All kind of FIXMEs -Catch ValueError for invalid interpolations when reading config Display untransformed values for get Style diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 612680b92..3caf3ff8e 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -112,7 +112,8 @@ class QuteBrowser(QApplication): configparser.InterpolationError, configparser.DuplicateSectionError, configparser.DuplicateOptionError, - configparser.ParsingError) as e: + configparser.ParsingError, + ValueError) as e: errstr = "Error while reading config:" if hasattr(e, 'section') and hasattr(e, 'option'): errstr += "\n\n{} -> {}:".format(e.section, e.option)