mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
fixes #3735
This commit is contained in:
parent
b3ff38c4fb
commit
0548cb82aa
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user