diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 08e45e79d0..d1d4e32595 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -2167,6 +2167,8 @@ class CookerParser(object): | |||
2167 | self.total) | 2167 | self.total) |
2168 | 2168 | ||
2169 | bb.event.fire(event, self.cfgdata) | 2169 | bb.event.fire(event, self.cfgdata) |
2170 | else: | ||
2171 | bb.error("Parsing halted due to errors") | ||
2170 | 2172 | ||
2171 | for process in self.processes: | 2173 | for process in self.processes: |
2172 | self.parser_quit.put(None) | 2174 | self.parser_quit.put(None) |
@@ -2257,7 +2259,7 @@ class CookerParser(object): | |||
2257 | return False | 2259 | return False |
2258 | except bb.BBHandledException as exc: | 2260 | except bb.BBHandledException as exc: |
2259 | self.error += 1 | 2261 | self.error += 1 |
2260 | logger.error('Failed to parse recipe: %s' % exc.recipe) | 2262 | logger.debug('Failed to parse recipe: %s' % exc.recipe) |
2261 | self.shutdown(clean=False, force=True) | 2263 | self.shutdown(clean=False, force=True) |
2262 | return False | 2264 | return False |
2263 | except ParsingFailure as exc: | 2265 | except ParsingFailure as exc: |