Added more info to the plug-ins load fail.

Trying to see why it fails (not in my docker image?!)
This commit is contained in:
Salvador E. Tropea 2020-10-17 12:03:33 -03:00
parent 2d55859782
commit 307e553534
1 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,9 @@ def _import(name, path):
mod = module_from_spec(spec)
try:
spec.loader.exec_module(mod)
except ImportError:
except ImportError as e:
trace_dump()
logger.error('Unable to import plug-ins')
logger.error('Unable to import plug-ins: '+str(e))
exit(WRONG_INSTALL)