Harden bridge broker restart (#862)

This commit is contained in:
ekko
2026-05-20 10:02:15 +08:00
committed by GitHub
parent 0547fd6b6a
commit 210b0ee6c2
8 changed files with 280 additions and 9 deletions
+1 -2
View File
@@ -39,10 +39,9 @@ process.on('uncaughtException', (err) => {
})
process.on('unhandledRejection', (reason) => {
console.error('FATAL: Unhandled rejection')
console.error('Unhandled rejection')
console.error(reason)
logger.error(reason, 'Unhandled rejection')
process.exit(1)
})
let server: any = null