mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
Catching and reporting AbortError race condition
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
import Server from './bin/server.js'
|
import Server from './bin/server.js'
|
||||||
const server = new Server()
|
const server = new Server()
|
||||||
|
|
||||||
|
process.on('unhandledRejection', (reason, promise) => {
|
||||||
|
console.log(`Handling ${reason.code} error. stack: `, reason)
|
||||||
|
})
|
||||||
|
|
||||||
server.startServer()
|
server.startServer()
|
||||||
|
|||||||
Reference in New Issue
Block a user