diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2020-03-31 23:26:42 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2020-03-31 23:26:42 +0200 |
commit | 18bf5375703ce6634b99b376781251ef6253cb40 (patch) | |
tree | 989461b735fee64265daaa2db5f05fc4afd307bb | |
parent | 3c6a74b72656026735745e6c51fd1289dd2f5810 (diff) | |
download | poezio-18bf5375703ce6634b99b376781251ef6253cb40.tar.gz poezio-18bf5375703ce6634b99b376781251ef6253cb40.tar.bz2 poezio-18bf5375703ce6634b99b376781251ef6253cb40.tar.xz poezio-18bf5375703ce6634b99b376781251ef6253cb40.zip |
plugin_manager: log on every Exception that caused plugin loading to fail
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/plugin_manager.py | 2 |
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: |