diff --git a/apps/live/src/start.ts b/apps/live/src/start.ts index f453a16fc..b2dafb26a 100644 --- a/apps/live/src/start.ts +++ b/apps/live/src/start.ts @@ -18,26 +18,26 @@ startServer(); // Graceful shutdown on unhandled rejection process.on("unhandledRejection", async (err: Error) => { - logger.error(`UNHANDLED REJECTION! 💥 Shutting down...`, err); + logger.error(`UNHANDLED REJECTION!`, err); try { - if (server) { - await server.destroy(); - } + // if (server) { + // await server.destroy(); + // } } finally { - logger.info("Exiting process..."); - process.exit(1); + // logger.info("Exiting process..."); + // process.exit(1); } }); // Graceful shutdown on uncaught exception process.on("uncaughtException", async (err: Error) => { - logger.error(`UNCAUGHT EXCEPTION! 💥 Shutting down...`, err); + logger.error(`UNCAUGHT EXCEPTION!`, err); try { - if (server) { - await server.destroy(); - } + // if (server) { + // await server.destroy(); + // } } finally { - logger.info("Exiting process..."); - process.exit(1); + // logger.info("Exiting process..."); + // process.exit(1); } });