mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-19 02:01:05 +08:00
reject don't throw
This commit is contained in:
parent
34a411f3c0
commit
d6f3ee93b8
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user