(Boeing r1769)

include exception text when service startup command fails
This commit is contained in:
ahrenholz 2013-09-06 17:58:54 +00:00
parent ece697df70
commit 4f9c7bf804

View file

@ -246,8 +246,8 @@ class CoreServices(ConfigurableManager):
try:
# NOTE: this wait=False can be problematic!
node.cmd(shlex.split(cmd), wait = False)
except:
node.warn("error starting command %s" % cmd)
except Exception, e:
node.warn("error starting command %s: %s" % (cmd, e))
def bootnodecustomservice(self, node, s, services):
''' Start a custom service on a node. Create private dirs, use supplied