diff --git a/lib/API.js b/lib/API.js index 50c25b3d..f128a915 100644 --- a/lib/API.js +++ b/lib/API.js @@ -1036,11 +1036,11 @@ API.prototype._startJson = function(file, opts, action, pipe, cb) { that.Client.executeRemote('prepare', resolved_paths, function(err, data) { if (err) { - Common.printError(conf.PREFIX_MSG + 'Process failed to launch', err); + Common.printError(conf.PREFIX_MSG_ERR + 'Process failed to launch %s', err.message ? err.message : err); return next(); } if (data.length === 0) { - Common.printError(conf.PREFIX_MSG + 'Process config loading failed', data); + Common.printError(conf.PREFIX_MSG_ERR + 'Process config loading failed', data); return next(); }