plugin_manager: log on every Exception that caused plugin loading to fail
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
3c6a74b726
commit
18bf537570
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class PluginManager:
|
||||||
log.debug('Found candidate entry for plugin %s: %r', name, entry)
|
log.debug('Found candidate entry for plugin %s: %r', name, entry)
|
||||||
try:
|
try:
|
||||||
module = entry.load()
|
module = entry.load()
|
||||||
except ImportError as exn:
|
except Exception as exn:
|
||||||
log.debug('Failed to import plugin: %s\n%r', name,
|
log.debug('Failed to import plugin: %s\n%r', name,
|
||||||
exn, exc_info=True)
|
exn, exc_info=True)
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in a new issue