From 56713f7805b7d0d2c19e7eaa16c94884401ac527 Mon Sep 17 00:00:00 2001 From: Joni Shkurti Date: Tue, 17 Mar 2015 01:45:11 +0100 Subject: [PATCH] Update God.js : fix --- lib/God.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } });