summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-04-01 00:40:54 +0200
committerMaxime Buquet <pep@bouah.net>2020-04-01 00:40:54 +0200
commitdd536d9e625d5364ca167494469cff673a024dc0 (patch)
tree989461b735fee64265daaa2db5f05fc4afd307bb
parent3c6a74b72656026735745e6c51fd1289dd2f5810 (diff)
parent18bf5375703ce6634b99b376781251ef6253cb40 (diff)
downloadpoezio-dd536d9e625d5364ca167494469cff673a024dc0.tar.gz
poezio-dd536d9e625d5364ca167494469cff673a024dc0.tar.bz2
poezio-dd536d9e625d5364ca167494469cff673a024dc0.tar.xz
poezio-dd536d9e625d5364ca167494469cff673a024dc0.zip
Merge branch 'log-plugin-loading' into 'master'
plugin_manager: log on every Exception that caused plugin loading to fail See merge request poezio/poezio!76
-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: