chore: directory migration - gateway→server, web→client/electron
This commit is contained in:
@ -399,5 +399,7 @@ function shutdown(reason) {
|
||||
main().catch((e) => {
|
||||
log(`启动失败: ${describeError(e)}`);
|
||||
releaseLock();
|
||||
// 故障邮件由 systemd ExecStopPost 统一发送:它还能覆盖 SIGKILL/OOM,
|
||||
// 而进程内的 uncaughtException 钩子覆盖不了这些真正的意外终止。
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user