event.py: Allow passthrough of BBHandledException events
PATCH 1/1 event.py: Allow passthrough of BBHandledException events
We need BBHandledException events to be passed through to the higher layers, they don't need addition of any traceback since they've already been reported to the user.
Signed-off-by Richard Purdie <[email protected]>
bitbake/lib/bb/event.py +1 -1
@@ -72,7 +72,7 @@ def execute_handler(name, handler, event, d): event.data = d try: ret = handler(event) - except bb.parse.SkipPackage: + except (bb.parse.SkipPackage, bb.BBHandledException): raise except Exception: etype, value, tb = sys.exc_info()