summaryrefslogtreecommitdiffstats
path: root/bin/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 14:16:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 15:34:13 +0100
commit1ff5ec26eba70ab1c85674a60b7dac77317bf349 (patch)
treee5f644f38df15bb63ad5cb08f903260c89d46dbe /bin/bitbake
parent26913202f83fbbecdce95da59515af102bcde4a7 (diff)
downloadbitbake-contrib-1ff5ec26eba70ab1c85674a60b7dac77317bf349.tar.gz
bitbake-contrib-1ff5ec26eba70ab1c85674a60b7dac77317bf349.tar.bz2
bitbake-contrib-1ff5ec26eba70ab1c85674a60b7dac77317bf349.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake')
-rwxr-xr-xbin/bitbake2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 21a6c8144a..4d93a35cdc 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