chore: avoid unhandled promise timeout errors

This commit is contained in:
canove
2025-04-24 13:38:43 -03:00
parent 2dbfb085d5
commit 6d4ce2cb18

View File

@@ -218,7 +218,7 @@ export const makeSocket = (config: SocketConfig) => {
const [result] = await Promise.all([
waitForMessage(msgId, timeoutMs),
await sendNode(node)
sendNode(node)
])
if('tag' in result) {