reject don't throw

This commit is contained in:
Rob Herley committed 2023-12-20 14:37:13 -05:00
1 parent 604ea0b087
commit 4cb0259a54
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ async function streamExtractInternal(
const timeout = 30 * 1000
const timerFn = (): void => {
throw new Error(`Blob storage chunk did not respond in ${timeout}ms `)
reject(new Error(`Blob storage chunk did not respond in ${timeout}ms `))
}
let timer = setTimeout(timerFn, timeout)