summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-04 16:44:07 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:35 +0100
commit04050117347ff2313245a6e47d4fcc5a2baf54a8 (patch)
tree06e1f14d565c0788d3f21c5477f65a5ef0faf147 /bitbake/bin
parent6ab1dbbb7c9c9692c9643451d5f88c078b95e418 (diff)
downloadast2050-yocto-poky-04050117347ff2313245a6e47d4fcc5a2baf54a8.zip
ast2050-yocto-poky-04050117347ff2313245a6e47d4fcc5a2baf54a8.tar.gz
Adjust the exception handling based on Cliff Brake's patch
Rather than printing the exception ourselves, might as well re-raise and let the default exception handler do it for us. (Bitbake rev: acca7eb8450cbe30d65b5b266f1a642e7965df8a) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 7880968..600cdad 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -206,7 +206,8 @@ Default BBFILES are the .bb files in the current directory.""")
print "FATAL: Invalid user interface '%s' specified. " % ui
print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'."
except Exception, e:
- print "FATAL: Unable to start to '%s' UI due to exception: %s." % (configuration.ui, e)
+ print "FATAL: Unable to start to '%s' UI: %s" % (configuration.ui, e)
+ raise
finally:
serverConnection.terminate()
return return_value
OpenPOWER on IntegriCloud