summaryrefslogtreecommitdiff
path: root/qutebrowser/config/configexc.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/config/configexc.py')
-rw-r--r--qutebrowser/config/configexc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser/config/configexc.py b/qutebrowser/config/configexc.py
index df171c365..d83ca403b 100644
--- a/qutebrowser/config/configexc.py
+++ b/qutebrowser/config/configexc.py
@@ -141,11 +141,13 @@ class ConfigFileErrors(Error):
def __init__(self,
basename: str,
- errors: typing.Sequence[ConfigErrorDesc]) -> None:
+ errors: typing.Sequence[ConfigErrorDesc], *,
+ fatal: bool = False) -> None:
super().__init__("Errors occurred while reading {}:\n{}".format(
basename, '\n'.join(' {}'.format(e) for e in errors)))
self.basename = basename
self.errors = errors
+ self.fatal = fatal
for err in errors:
if err.traceback:
log.config.debug("Config error stack:")