summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-09-27 16:16:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 16:52:22 +0100
commitde34aab334d5258b62fb6180669e3b6d63cea818 (patch)
tree2059340fb1516496e49eda561810612df0af5980 /bitbake/lib/bb/ui
parentaf0f6793448ed948d748705529fdf8c0f8a764e1 (diff)
downloadpoky-de34aab334d5258b62fb6180669e3b6d63cea818.tar.gz
bitbake: toaster: make error message more informative
Error message ERROR: Unprocessed MetadataEvent <bb.event.MetadataEvent object at 0x7f750e671a58> doesn't give a lot of information about the event. It just prints event object, which is always bb.event.MetadataEvent. Including event type into the error message should make it more informative: ERROR: Unprocessed MetadataEvent TaskArtifacts (Bitbake rev: 603c7c13536d3fa1786270e863688c1d2e511196) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 2bc45b6312..9808f6bc8f 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -438,7 +438,7 @@ def main(server, eventHandler, params):
438 elif event.type == "OSErrorException": 438 elif event.type == "OSErrorException":
439 logger.error(event) 439 logger.error(event)
440 else: 440 else:
441 logger.error("Unprocessed MetadataEvent %s ", str(event)) 441 logger.error("Unprocessed MetadataEvent %s", event.type)
442 continue 442 continue
443 443
444 if isinstance(event, bb.cooker.CookerExit): 444 if isinstance(event, bb.cooker.CookerExit):