diff --git a/packages/artifact/src/internal/download/download-artifact.ts b/packages/artifact/src/internal/download/download-artifact.ts index 697a10c8..110375ab 100644 --- a/packages/artifact/src/internal/download/download-artifact.ts +++ b/packages/artifact/src/internal/download/download-artifact.ts @@ -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)