Skip to contentSkip to conversation

lib/bb: more verbose error message

PATCH New Marta Rybczynska 1 participant 1 message Mar 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/bb: more verbose error message

From: Marta Rybczynska <[email protected]>

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.

---
 lib/bb/cooker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/cooker.py +1 -1
index 0133a327..6996e623 100644
@@ -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)
Signature · 1 line
2.33.0