Commit f73b4415 authored by Valentin Reis's avatar Valentin Reis

Merge branch '39-uncaught-execption-in-daemon-when-argo_nodeos_config-not-available' into 'master'

Resolve "Uncaught execption in daemon when argo_nodeos_config not available"

Closes #39

See merge request !86
parents 753c0048 117eb1bb
Pipeline #7105 passed with stages
in 4 minutes and 59 seconds
......@@ -83,8 +83,14 @@ class NodeOSClient(object):
cmd += ' cpus:[{0}]'.format(",".join([str(x) for x in params.cpus]))
cmd += ' mems:[{0}]'.format(",".join([str(x) for x in params.mems]))
p = subprocess.Popen(args, stdout=subprocess.PIPE,
except OSError:
logger.error("Could not run argo_nodeos_config. Use either the"
"--argo_nodeos_config nrmd option or the"
" ARGO_NODEOS_CONFIG env var. to configure it.")
stdout, stderr = p.communicate()
logpopen(p, args, stdout, stderr)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment