Update log statement to fatal

This commit is contained in:
Cooldude2606 committed 2026-04-15 22:15:14 +01:00
1 parent e8cabb7196
commit 6f5b8ce68d
1 file changed
+1 -1
+1 -1
View File
@@ -72,8 +72,8 @@ export function createShutdownGuard(logger: Logger, signalName: string, callback
logger.info(`Caught ${signalName}, shutting down`);
callback().catch(err => {
setBlocking(true);
logger.error(err.stack);
logger.fatal("Error during shutdown, terminating immediately");
logger.fatal(err.stack);
process.exit(1);
});
};