1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +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:
Richard Purdie
2021-09-23 12:03:16 +01:00
parent 8f1c2f851a
commit 3d06c164dd
+1 -1
View File
@@ -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: