mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
cooker: add missing shutdowns to the exception handling
(Bitbake rev: c9f58ef6b897d3fa5b0d23734b5f2cb3dabb057a) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
555262744d
commit
38daf8b7eb
@@ -1507,8 +1507,10 @@ class CookerParser(object):
|
||||
bb.fatal('Unable to parse %s: %s' %
|
||||
(exc.recipe, bb.exceptions.to_string(exc.realexception)))
|
||||
except (bb.parse.ParseError, bb.data_smart.ExpansionError) as exc:
|
||||
self.shutdown(clean=False)
|
||||
bb.fatal(str(exc))
|
||||
except SyntaxError as exc:
|
||||
self.shutdown(clean=False)
|
||||
logger.error('Unable to parse %s', exc.recipe)
|
||||
sys.exit(1)
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user