aboutsummaryrefslogtreecommitdiff
path: root/devlib/target.py
diff options
context:
space:
mode:
authorSergei Trofimov <sergei.trofimov@arm.com>2017-02-23 09:13:05 +0000
committerSergei Trofimov <sergei.trofimov@arm.com>2017-02-23 09:25:23 +0000
commit1dd69501778a78ecc8c5fe36de5255fe40598de2 (patch)
tree770a9d210a446d1fa295d942e55340ee6589538e /devlib/target.py
parent23087d14f5d46e2e5a48e171fa42a3bb438defb2 (diff)
downloaddevlib-1dd69501778a78ecc8c5fe36de5255fe40598de2.tar.gz
utils/misc: attach exc_info on error in walk_modules
Commit 28891a82 made it easier to debug issues during walk_modules by attaching the specific name of the module being loaded to the exception. However, the error may not originite in the imported module, but one of the modules that module itself is importing. To further facilitate debugging, exc_info (which contains the traceback) for the orginal ImportError is now also attached to the raised HostError.
Diffstat (limited to 'devlib/target.py')
0 files changed, 0 insertions, 0 deletions