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
This commit is contained in:
commit
dd536d9e62
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)
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue