Warn about plugin load failures rather than merely debug-logging them
This commit is contained in:
parent
967432c096
commit
7f8e44f087
1 changed files with 5 additions and 1 deletions
|
@ -482,7 +482,11 @@ class PluginManager(metaclass=Singleton):
|
||||||
try:
|
try:
|
||||||
module = __import__(module_name)
|
module = __import__(module_name)
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
log.debug(str(error))
|
log.warning(
|
||||||
|
"While trying to load {plugin}, exception occurred: {error}"
|
||||||
|
.format(plugin=elem_name, error=str(error))
|
||||||
|
)
|
||||||
|
continue
|
||||||
|
|
||||||
if module is None:
|
if module is None:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Reference in a new issue