From 04050117347ff2313245a6e47d4fcc5a2baf54a8 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 4 Jun 2010 16:44:07 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 7880968965..600cdadc9d 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 -- cgit v1.2.3