summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index cecbed9c21..1b3bb84018 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1661,6 +1661,11 @@ class CookerParser(object):
1661 except StopIteration: 1661 except StopIteration:
1662 self.shutdown() 1662 self.shutdown()
1663 return False 1663 return False
1664 except bb.BBHandledException as exc:
1665 self.error += 1
1666 logger.error('Failed to parse recipe: %s' % exc.recipe)
1667 self.shutdown(clean=False)
1668 return False
1664 except ParsingFailure as exc: 1669 except ParsingFailure as exc:
1665 self.error += 1 1670 self.error += 1
1666 logger.error('Unable to parse %s: %s' % 1671 logger.error('Unable to parse %s: %s' %