From 1ff5ec26eba70ab1c85674a60b7dac77317bf349 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Oct 2013 14:16:15 +0100 Subject: bin/bitbake: No need to show tracebacks for BBHandledExceptions For BBHandledExceptions, we've already displaced a sensible error to the user so we don't need to do it again. Just exit with an error value. Signed-off-by: Richard Purdie --- bin/bitbake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/bitbake') diff --git a/bin/bitbake b/bin/bitbake index 21a6c8144..4d93a35cd 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -323,6 +323,8 @@ def main(): if __name__ == "__main__": try: ret = main() + except bb.BBHandledException: + ret = 1 except Exception: ret = 1 import traceback -- cgit 1.2.3-korg