[bitbake-devel] [PATCH] bb.build: in _exec_task, catch errors from TaskStarted
Christopher Larson
chris_larson at mentor.com
Fri Sep 16 20:01:32 UTC 2016
On Fri, Sep 16, 2016 at 1:00 PM, Christopher Larson <kergoth at gmail.com>
wrote:
> From: Christopher Larson <chris_larson at mentor.com>
>
> We want any exceptions raised by the TaskStarted event handlers to be
> caught
> rather than unconditionally hitting the exception formatting + traceback in
> exec_task, otherwise we can't cleanly exit the task with a nice message
> from
> such a handler.
>
> 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 at mentor.com>
>
This supercedes 'bb.build: in _exec_task, catch BBHandledException’.
--
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160916/ad0a2441/attachment-0002.html>
More information about the bitbake-devel
mailing list