mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
target: Add exception message when module fails to load
Log the exception message when a target module fails to load.
This commit is contained in:
parent
728b59ad7e
commit
48329b7891
@ -1265,7 +1265,7 @@ fi
|
|||||||
try:
|
try:
|
||||||
mod.install(self, **params)
|
mod.install(self, **params)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error('Module "{}" failed to install on target'.format(name))
|
self.logger.error('Module "{}" failed to install on target: {}'.format(name, e))
|
||||||
raise
|
raise
|
||||||
self._installed_modules[name] = mod
|
self._installed_modules[name] = mod
|
||||||
if name not in self.modules:
|
if name not in self.modules:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user