diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-09-19 11:25:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-20 11:48:39 +0100 |
commit | 14a04abb9b1a176a623d9f6f50ed62af67274170 (patch) | |
tree | 1a4e5a1a7233a180513e0d0cef92e49e598738ef /meta/classes | |
parent | 8d46be8a0d4e11750ba2471a5a9ecc363c325a62 (diff) | |
download | poky-14a04abb9b1a176a623d9f6f50ed62af67274170.tar.gz |
bitbake: 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].
(Bitbake rev: 5bab81b124087d63d6eb62a861e1241714fcd483)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions