Message ID | 20250705062608.3875788-1-richard.purdie@linuxfoundation.org |
---|---|
State | New |
Headers | show |
Series | cooker: Add better parse debug | expand |
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 8b959cc942e..d46e1eb62bb 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -2291,7 +2291,7 @@ class CookerParser(object): yield result if not (self.parsed >= self.toparse): - raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? Exiting.", None) + raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? (%s %s of %s) Exiting." % (len(self.processes), self.parsed, self.toparse), None) def parse_next(self):
If parsing ends early and unexpectedly, add some internal values to better understand why/how it failed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)