diff options
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 9c59fd07c6..28fdd8200e 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
@@ -140,6 +140,9 @@ def main(server, eventHandler, params ): | |||
140 | continue | 140 | continue |
141 | 141 | ||
142 | if isinstance(event, logging.LogRecord): | 142 | if isinstance(event, logging.LogRecord): |
143 | if event.levelno == -1: | ||
144 | event.levelno = format.ERROR | ||
145 | |||
143 | buildinfohelper.store_log_event(event) | 146 | buildinfohelper.store_log_event(event) |
144 | if event.levelno >= format.ERROR: | 147 | if event.levelno >= format.ERROR: |
145 | errors = errors + 1 | 148 | errors = errors + 1 |