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>
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