lib/bb: more verbose error message

Message ID 20220308090758.1171081-1-rybczynska@gmail.com
State Accepted, archived
Commit e81b6ae61dd8b5d0f77146263d79dfe66c66b060
Headers show
Series lib/bb: more verbose error message | expand

Commit Message

Marta Rybczynska March 8, 2022, 9:07 a.m. UTC
From: Marta Rybczynska <marta.rybczynska@huawei.com>

The "Parsing halted due to errors" is shown when user has old-style
variables requiring renaming. Make it clear that it isn't an additional
error, but a result of earlier errors.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
---
 lib/bb/cooker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 0133a327..6996e623 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -2168,7 +2168,7 @@  class CookerParser(object):
 
             bb.event.fire(event, self.cfgdata)
         else:
-            bb.error("Parsing halted due to errors")
+            bb.error("Parsing halted due to errors, see error messages above")
 
         for process in self.processes:
             self.parser_quit.put(None)