Commit dd536d9e authored by Maxime Buquet's avatar Maxime Buquet

Merge branch 'log-plugin-loading' into 'master'

plugin_manager: log on every Exception that caused plugin loading to fail

See merge request !76
parents 3c6a74b7 18bf5375
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment