diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-10-04 09:11:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-05 10:28:04 +0100 |
commit | ca5b788280ad4303cc08a376e847cbbeda31970c (patch) | |
tree | 8f372085057deb08ad99b2039a75adc381981539 /LICENSE | |
parent | 1e23b1f1a80066223b98e18b163840051ac74944 (diff) | |
download | bitbake-contrib-ca5b788280ad4303cc08a376e847cbbeda31970c.tar.gz |
bb.build: in _exec_task, catch errors from TaskStarted
We don't always want a traceback when an exception is raised by the
TaskStarted event handler. Silently return if we get a SystemExit or
HandledException, and print the error and return for FuncFailed.
This is done via a separate try/catch block, to avoid firing TaskFailed if all
the TaskStarted event handlers didn't complete, otherwise the bitbake UIs get
unhappy.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions