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>
This commit is contained in:
parent
6ab1dbbb7c
commit
0405011734
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue