Improve error message to include information from the exception
This commit is contained in:
parent
d20894a7c4
commit
788e2b43af
|
@ -84,8 +84,8 @@ class PluginManager:
|
|||
for plugin in config.get('plugins'):
|
||||
try:
|
||||
self.__load_plugin(plugin)
|
||||
except BaseException:
|
||||
logging.error('Error in loading the plugin: %s', plugin['id'])
|
||||
except BaseException as e:
|
||||
logging.error('Error in loading the plugin %s: %s', plugin['id'], e)
|
||||
continue
|
||||
# Initialize the plugins
|
||||
for plugin in self.__plugins_on_init:
|
||||
|
|
Loading…
Reference in New Issue