Skip to content

Commit b50f0f3

Browse files
committed
fix: return error handler
1 parent dcb0f03 commit b50f0f3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

services/chronikService.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,9 @@ class MultiBlockchainClient {
10941094
try {
10951095
c.chronikWSEndpoint.close()
10961096
c.wsEndpoint.close()
1097-
} catch {}
1097+
} catch (err: any) {
1098+
console.error(`Failed to close connections for client: ${err.message as string}`)
1099+
}
10981100
})
10991101
)
11001102
}

0 commit comments

Comments
 (0)