summaryrefslogtreecommitdiff
path: root/alot/__main__.py
diff options
context:
space:
mode:
authorJulian Mehne <julian.mehne@posteo.de>2017-12-03 10:29:04 +0100
committerJulian Mehne <julian.mehne@posteo.de>2017-12-06 14:28:24 +0100
commitb9ae81a590eee4ab3f601a5edc1ea3f451c39c66 (patch)
treef04a0d25554247eb16cfdcaa40577e709cd6d041 /alot/__main__.py
parent4501d073407be97fdf4206bec853ea0ec1e5351b (diff)
Give more context if reading of config file fails.
Diffstat (limited to 'alot/__main__.py')
-rw-r--r--alot/__main__.py2
1 files changed, 2 insertions, 0 deletions
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: