1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-09 08:33:00 +00:00

reject don't throw

This commit is contained in:
Rob Herley 2023-12-20 14:37:13 -05:00
parent 34a411f3c0
commit d6f3ee93b8
No known key found for this signature in database
GPG key ID: D1602042C3543B06

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)