add reject

This commit is contained in:
Andrei Kashchikhin
2025-09-01 11:52:11 +02:00
parent f58042f9cc
commit 523ce8ccda
@@ -82,6 +82,7 @@ export async function streamExtractExternal(
response.message.destroy(
new Error(`Blob storage chunk did not respond in ${timeout}ms`)
)
reject(`Blob storage chunk did not respond in ${timeout}ms`)
}
const timer = setTimeout(timerFn, timeout)