Merge pull request #1033 from marcelklehr/fix/shutdown-on-middlware-error

Don't shut down the whole server, if error handling middleware is called...
pull/1031/merge
John McLear 2012-10-02 11:31:41 -07:00
commit c0a2202e34
1 changed files with 0 additions and 1 deletions

View File

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