diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-23 12:03:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-23 22:13:08 +0100 |
commit | 3d06c164dd729484ac1c73e3c73d3b6018749877 (patch) | |
tree | 25c82402855ffa20d9027e47972db336affbc066 /bitbake | |
parent | 8f1c2f851a87c3402766a8408a8ee65d6a4fb785 (diff) | |
download | poky-3d06c164dd729484ac1c73e3c73d3b6018749877.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 18586c276e..99954b0c26 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -707,7 +707,7 @@ def _exec_task(fn, task, d, quieterr): | |||
707 | # logs once already so don't duplicate | 707 | # logs once already so don't duplicate |
708 | if verboseStdoutLogging: | 708 | if verboseStdoutLogging: |
709 | errprinted = True | 709 | errprinted = True |
710 | logger.error(str(exc)) | 710 | logger.error(repr(exc)) |
711 | event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata) | 711 | event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata) |
712 | return 1 | 712 | return 1 |
713 | finally: | 713 | finally: |