Include traceback in exception logging for plugin load
This commit is contained in:
parent
6b3879a7b7
commit
a826019739
1 changed files with 2 additions and 2 deletions
|
@ -484,8 +484,8 @@ class PluginManager(metaclass=Singleton):
|
||||||
module = __import__(module_name)
|
module = __import__(module_name)
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
log.warning(
|
log.warning(
|
||||||
"While trying to load {plugin}, exception occurred: {error}"
|
"While trying to load {plugin}, exception occurred".format(plugin=elem_name),
|
||||||
.format(plugin=elem_name, error=str(error))
|
exc_info=sys.exc_info()
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue