summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-23 12:03:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-23 22:13:08 +0100
commit3d06c164dd729484ac1c73e3c73d3b6018749877 (patch)
tree25c82402855ffa20d9027e47972db336affbc066 /bitbake
parent8f1c2f851a87c3402766a8408a8ee65d6a4fb785 (diff)
downloadpoky-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.py2
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: