add reject

This commit is contained in:
Andrei Kashchikhin committed 2025-09-01 11:52:11 +02:00
1 parent d509a46b27
commit fc83cc9f2c
1 file changed
+1
@@ -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)