mirror of
git://git.yoctoproject.org/poky
synced 2026-08-14 13:18:39 +00:00
bitbake: build: Make exception printing clearer
Shows: ERROR: SystemExit(1) instead of: ERROR: 1 (Bitbake rev: df89e37c33e4398a5f8ece9a8b973be3fe2ff361) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8f1c2f851a
commit
3d06c164dd
@ -707,7 +707,7 @@ def _exec_task(fn, task, d, quieterr):
|
||||
# logs once already so don't duplicate
|
||||
if verboseStdoutLogging:
|
||||
errprinted = True
|
||||
logger.error(str(exc))
|
||||
logger.error(repr(exc))
|
||||
event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata)
|
||||
return 1
|
||||
finally:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user