mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Merge branch 'develop' into express-v3
Conflicts: src/node/hooks/express/errorhandling.js
This commit is contained in:
commit
2684a1d295
23 changed files with 628 additions and 174 deletions
|
@ -39,11 +39,8 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
|||
// allowing you to respond however you like
|
||||
res.send(500, { error: 'Sorry, something bad happened!' });
|
||||
console.error(err.stack? err.stack : err.toString());
|
||||
exports.gracefulShutdown();
|
||||
next();
|
||||
})
|
||||
|
||||
|
||||
//connect graceful shutdown with sigint and uncaughtexception
|
||||
if(os.type().indexOf("Windows") == -1) {
|
||||
//sigint is so far not working on windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue