diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-01-18 15:45:09 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 22:06:29 +0000 |
commit | 69f2b2bc373ce114609600b59a6b6ccef20771c9 (patch) | |
tree | 40be03de68fa5760fe88c86cf2b498bef3e061d7 /lib/bb/ui | |
parent | d0276a831bb8cffd42c8367895633eaa1fa1ed30 (diff) | |
download | bitbake-contrib-69f2b2bc373ce114609600b59a6b6ccef20771c9.tar.gz |
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.
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 'lib/bb/ui')
-rw-r--r-- | lib/bb/ui/toasterui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/ui/toasterui.py b/lib/bb/ui/toasterui.py index 19be62304..32b1889a6 100644 --- a/lib/bb/ui/toasterui.py +++ b/lib/bb/ui/toasterui.py @@ -366,6 +366,8 @@ def main(server, eventHandler, params): buildinfohelper.store_license_manifest_path(event) elif event.type == "SetBRBE": buildinfohelper.brbe = buildinfohelper._get_data_from_event(event) + elif event.type == "OSErrorException": + logger.error(event) else: logger.error("Unprocessed MetadataEvent %s ", str(event)) continue |