add reject
This commit is contained in:
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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user