Catching and reporting AbortError race condition

This commit is contained in:
Chris Troutner
2025-02-20 19:03:45 -07:00
parent 1d82b36105
commit e5cdf28e34
+4
View File
@@ -1,4 +1,8 @@
import Server from './bin/server.js'
const server = new Server()
process.on('unhandledRejection', (reason, promise) => {
console.log(`Handling ${reason.code} error. stack: `, reason)
})
server.startServer()