summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-01-18 15:45:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-18 22:06:46 +0000
commit68f3e1e0674e5ae8df3d2401b64aa86d782f14c6 (patch)
tree146fa501b24efc4200cca6d6b1b4728e7719c702 /bitbake
parentfb94754e8398299b1b269e130c8dde684c545caf (diff)
downloadpoky-68f3e1e0674e5ae8df3d2401b64aa86d782f14c6.tar.gz
bitbake: toasterui: log OSErrorException metadata events
OSErrors occurring in toaster.bbclass are converted to OSErrorException metadata events. They were then being swallowed as unprocessed events by toasterui, which made them difficult to spot. Explicitly catch OSErrorException events and log them so they are easier to spot and debug. (Bitbake rev: 69f2b2bc373ce114609600b59a6b6ccef20771c9) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 19be623048..32b1889a65 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -366,6 +366,8 @@ def main(server, eventHandler, params):
366 buildinfohelper.store_license_manifest_path(event) 366 buildinfohelper.store_license_manifest_path(event)
367 elif event.type == "SetBRBE": 367 elif event.type == "SetBRBE":
368 buildinfohelper.brbe = buildinfohelper._get_data_from_event(event) 368 buildinfohelper.brbe = buildinfohelper._get_data_from_event(event)
369 elif event.type == "OSErrorException":
370 logger.error(event)
369 else: 371 else:
370 logger.error("Unprocessed MetadataEvent %s ", str(event)) 372 logger.error("Unprocessed MetadataEvent %s ", str(event))
371 continue 373 continue