diff options
-rw-r--r-- | bitbake/lib/bb/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index f9ee4f1c1d..560f55a074 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -354,6 +354,9 @@ def better_exec(code, context, text = None, realfile = "<code>"): | |||
354 | code = better_compile(code, realfile, realfile) | 354 | code = better_compile(code, realfile, realfile) |
355 | try: | 355 | try: |
356 | exec(code, get_context(), context) | 356 | exec(code, get_context(), context) |
357 | except bb.BBHandledException: | ||
358 | # Error already shown so passthrough | ||
359 | raise | ||
357 | except Exception as e: | 360 | except Exception as e: |
358 | (t, value, tb) = sys.exc_info() | 361 | (t, value, tb) = sys.exc_info() |
359 | 362 | ||