mirror of https://github.com/actions/toolkit
reject don't throw
parent
34a411f3c0
commit
d6f3ee93b8
|
@ -70,7 +70,7 @@ async function streamExtractInternal(
|
||||||
|
|
||||||
const timeout = 30 * 1000
|
const timeout = 30 * 1000
|
||||||
const timerFn = (): void => {
|
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)
|
let timer = setTimeout(timerFn, timeout)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue