diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 14:16:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:34 +0100 |
commit | 266a7d8c974e7f2b39e759ec1d89b5895795933c (patch) | |
tree | 92ce46144e78c7c3cb06a907b8e8622cc4ef12b6 | |
parent | 22d5782ef56025061fa757538c6bb5a7940946f1 (diff) | |
download | poky-266a7d8c974e7f2b39e759ec1d89b5895795933c.tar.gz |
bitbake: 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.
(Bitbake rev: 1ff5ec26eba70ab1c85674a60b7dac77317bf349)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | bitbake/bin/bitbake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 21a6c8144a..4d93a35cdc 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -323,6 +323,8 @@ def main(): | |||
323 | if __name__ == "__main__": | 323 | if __name__ == "__main__": |
324 | try: | 324 | try: |
325 | ret = main() | 325 | ret = main() |
326 | except bb.BBHandledException: | ||
327 | ret = 1 | ||
326 | except Exception: | 328 | except Exception: |
327 | ret = 1 | 329 | ret = 1 |
328 | import traceback | 330 | import traceback |