diff --git a/lib/God.js b/lib/God.js index 5ca609c04..f9c71dd58 100644 --- a/lib/God.js +++ b/lib/God.js @@ -244,7 +244,6 @@ God.executeApp = function executeApp(env, cb) { clu.once('error', function(err) { console.error(err.stack || err); - clu.pm2_env.status = cst.ERRORED_STATUS; try { clu.destroy && clu.destroy(); } @@ -302,7 +301,6 @@ God.executeApp = function executeApp(env, cb) { clu.once('error', function cluError(err) { console.error(err.stack || err); - clu.pm2_env.status = cst.ERRORED_STATUS; try { clu.kill && clu.kill(); }