mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
do not exit on uncaught exception
This commit is contained in:
@@ -47,7 +47,6 @@ process.on('SIGTERM', () => {
|
|||||||
|
|
||||||
process.on('uncaughtException', (err) => {
|
process.on('uncaughtException', (err) => {
|
||||||
log.error(err);
|
log.error(err);
|
||||||
process.exit(1);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
process.on('unhandledRejection', (reason, promise) => {
|
process.on('unhandledRejection', (reason, promise) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user