]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
hob: report event handler failures
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 19 Sep 2012 10:25:42 +0000 (11:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Sep 2012 10:48:01 +0000 (11:48 +0100)
commit5bab81b124087d63d6eb62a861e1241714fcd483
tree89b818a503fcd8752ab323862f4d297a6efb56ff
parent6d56bec4464da14d7fde0e60946be43293ad6e52
hob: report event handler failures

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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/crumbs/hobeventhandler.py