diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 641a839810..ece88fce93 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1227,7 +1227,7 @@ class CookerParser(object): | |||
1227 | self.shutdown(clean=False) | 1227 | self.shutdown(clean=False) |
1228 | bb.fatal('Unable to parse %s: %s' % | 1228 | bb.fatal('Unable to parse %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: | 1230 | except (bb.parse.ParseError, bb.data_smart.ExpansionError) as exc: |
1231 | bb.fatal(str(exc)) | 1231 | bb.fatal(str(exc)) |
1232 | except SyntaxError as exc: | 1232 | except SyntaxError as exc: |
1233 | logger.error('Unable to parse %s', exc.recipe) | 1233 | logger.error('Unable to parse %s', exc.recipe) |