mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 00:24:43 -04:00
Server using logger to log uncaughtException
This commit is contained in:
parent
556338a9c6
commit
0292bfce5b
1 changed files with 4 additions and 1 deletions
3
app.js
3
app.js
|
@ -388,3 +388,6 @@ if (config.usessl) {
|
||||||
logger.info('HTTP Server listening at port %d', config.port);
|
logger.info('HTTP Server listening at port %d', config.port);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
process.on('uncaughtException', function (err) {
|
||||||
|
logger.error(err);
|
||||||
|
});
|
Loading…
Add table
Add a link
Reference in a new issue