(Boeing r1769)
include exception text when service startup command fails
This commit is contained in:
parent
ece697df70
commit
4f9c7bf804
1 changed files with 2 additions and 2 deletions
|
@ -246,8 +246,8 @@ class CoreServices(ConfigurableManager):
|
||||||
try:
|
try:
|
||||||
# NOTE: this wait=False can be problematic!
|
# NOTE: this wait=False can be problematic!
|
||||||
node.cmd(shlex.split(cmd), wait = False)
|
node.cmd(shlex.split(cmd), wait = False)
|
||||||
except:
|
except Exception, e:
|
||||||
node.warn("error starting command %s" % cmd)
|
node.warn("error starting command %s: %s" % (cmd, e))
|
||||||
|
|
||||||
def bootnodecustomservice(self, node, s, services):
|
def bootnodecustomservice(self, node, s, services):
|
||||||
''' Start a custom service on a node. Create private dirs, use supplied
|
''' Start a custom service on a node. Create private dirs, use supplied
|
||||||
|
|
Loading…
Add table
Reference in a new issue