summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Hoffmann <lucc@users.noreply.github.com>2018-05-14 08:23:26 +0200
committerGitHub <noreply@github.com>2018-05-14 08:23:26 +0200
commitbdd2a5142dedcbf1aec237c2a321e4f9d9cf82b0 (patch)
tree9d3c9dabd10cba4673e08c64bf0189bb295b5dbd
parent08438d56ef695883f8beb8c7515b261015c676f0 (diff)
parent9d2f254ffb38e4c71feae19de514eabaaf5a6d7f (diff)
Merge pull request #1240 from teto/nix
display the exception explaining why we couldn't load hooks
-rw-r--r--alot/settings/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index 24d5c989..9cd89256 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -92,7 +92,7 @@ class SettingsManager(object):
try:
self.hooks = imp.load_source('hooks', hooks_path)
except:
- logging.debug('unable to load hooks file:%s', hooks_path)
+ logging.exception('unable to load hooks file:%s', hooks_path)
if 'bindings' in newconfig:
newbindings = newconfig['bindings']
if isinstance(newbindings, Section):