[bitbake-devel] [PATCHv2 2/2] bb.build: in _exec_task, catch errors from TaskStarted
Christopher Larson
chris_larson at mentor.com
Sat Sep 17 05:12:48 UTC 2016
On Fri, Sep 16, 2016 at 1:05 PM, Christopher Larson <kergoth at gmail.com>
wrote:
> + try:
> + event.fire(TaskStarted(task, logfn, flags, localdata),
> localdata)
> + except BaseException:
> + return 1
>
Thinking about it, this isn’t ideal either, as it will obscure cases where
a traceback is most appropriate. Will need to duplicate the handling of
BBHandledException and possibly SystemExit, I expect, instead.
--
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/c634af42/attachment-0002.html>
More information about the bitbake-devel
mailing list