diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index f4836509ca..a15b81f233 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1227,6 +1227,8 @@ class CookerParser(object): | |||
1227 | self.shutdown(clean=False) | 1227 | self.shutdown(clean=False) |
1228 | bb.fatal('Error parsing %s: %s' % | 1228 | bb.fatal('Error parsing %s: %s' % |
1229 | (exc.recipe, bb.exceptions.to_string(exc.realexception))) | 1229 | (exc.recipe, bb.exceptions.to_string(exc.realexception))) |
1230 | except bb.parse.ParseError as exc: | ||
1231 | bb.fatal(str(exc)) | ||
1230 | except SyntaxError as exc: | 1232 | except SyntaxError as exc: |
1231 | logger.error('Unable to parse %s', exc.recipe) | 1233 | logger.error('Unable to parse %s', exc.recipe) |
1232 | sys.exit(1) | 1234 | sys.exit(1) |