This commit is contained in:
Vivek Soni 2018-06-25 22:33:19 +05:30 committed by Vivek Soni
parent b3ff38c4fb
commit 0548cb82aa

View File

@ -419,7 +419,7 @@ module.exports = function(God) {
&& proc.pm2_env.status !== cst.LAUNCHING_STATUS)
return God.startProcessId(proc.pm2_env.pm_id, next);
else
return next("[Watch] Process name %s is being stopped so I won't restart it", name);
return next(util.format('[Watch] Process name %s is being stopped so I won\'t restart it', name));
}, function(err) {
if (err) return cb(God.logAndGenerateError(err));
return cb(null, God.getFormatedProcesses());