[bitbake-devel] [PATCH] hob: report event handler failures

Richard Purdie richard.purdie at linuxfoundation.org
Thu Sep 20 10:49:03 UTC 2012


On Wed, 2012-09-19 at 11:25 +0100, Paul Eggleton wrote:
> If an event handler failed we were not recieving an error message -
> parsing just "froze" at 99%. This is because we were expecting a
> CommandFailure event and this never happened in the case of
> RequestPackageInfo which is where the failure was occurring.
> 
> This also required tweaking the error formatting slightly, taking the
> return value of the format function rather than the message property
> since the latter only seems to contain the first line without the
> traceback in the case of event handler failure. Other error cases were
> tested and their message formatting is unaffected by this change.
> 
> Final part of the fix for [YOCTO #2651].
> 
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

Merged to master, thanks.

Richard





More information about the bitbake-devel mailing list