mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +09:00
Update log statement to fatal
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user