From b9ae81a590eee4ab3f601a5edc1ea3f451c39c66 Mon Sep 17 00:00:00 2001 From: Julian Mehne Date: Sun, 3 Dec 2017 10:29:04 +0100 Subject: Give more context if reading of config file fails. --- alot/__main__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'alot/__main__.py') diff --git a/alot/__main__.py b/alot/__main__.py index fc34164f..ee5e442a 100644 --- a/alot/__main__.py +++ b/alot/__main__.py @@ -106,6 +106,8 @@ def main(): settings.read_config() settings.read_notmuch_config() except (ConfigError, OSError, IOError) as e: + print('Error when parsing a config file. ' + 'See log for potential details.') sys.exit(e) # store options given by config swiches to the settingsManager: -- cgit v1.2.3