diff --git a/lib/God.js b/lib/God.js index 3a425b0a..a73ce1dd 100644 --- a/lib/God.js +++ b/lib/God.js @@ -208,7 +208,7 @@ God.executeApp = function executeApp(env, cb) { } catch (e) { console.error(e.stack || e); - God.handleExit(clu, signal || code); + God.handleExit(clu, cst.ERROR_EXIT); } }); @@ -249,7 +249,7 @@ God.executeApp = function executeApp(env, cb) { } catch (e) { console.error(e.stack || e); - God.handleExit(clu, signal || code); + God.handleExit(clu, cst.ERROR_EXIT); } });