This commit is contained in:
Marcel Klehr 2012-10-02 11:12:56 -07:00
commit af2d494fd5

View file

@ -38,7 +38,6 @@ exports.expressCreateServer = function (hook_name, args, cb) {
args.app.error(function(err, req, res, next){ args.app.error(function(err, req, res, next){
res.send(500); res.send(500);
console.error(err.stack ? err.stack : err.toString()); console.error(err.stack ? err.stack : err.toString());
exports.gracefulShutdown();
}); });
//connect graceful shutdown with sigint and uncaughtexception //connect graceful shutdown with sigint and uncaughtexception