summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/plugin_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/plugin_manager.py b/poezio/plugin_manager.py
index e603b6fa..75a6b4a3 100644
--- a/poezio/plugin_manager.py
+++ b/poezio/plugin_manager.py
@@ -83,7 +83,7 @@ class PluginManager:
log.debug('Found candidate entry for plugin %s: %r', name, entry)
try:
module = entry.load()
- except ImportError as exn:
+ except Exception as exn:
log.debug('Failed to import plugin: %s\n%r', name,
exn, exc_info=True)
finally: