We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2ba502 + 8444236 commit 714f93aCopy full SHA for 714f93a
packages/artifact/src/internal/download/download-artifact.ts
@@ -79,9 +79,11 @@ export async function streamExtractExternal(
79
80
return new Promise((resolve, reject) => {
81
const timerFn = (): void => {
82
- response.message.destroy(
83
- new Error(`Blob storage chunk did not respond in ${timeout}ms`)
+ const timeoutError = new Error(
+ `Blob storage chunk did not respond in ${timeout}ms`
84
)
85
+ response.message.destroy(timeoutError)
86
+ reject(timeoutError)
87
}
88
const timer = setTimeout(timerFn, timeout)
89
0 commit comments