diff --git a/packages/artifact/src/internal/upload/upload-artifact.ts b/packages/artifact/src/internal/upload/upload-artifact.ts index 03c72b5e..f9817262 100644 --- a/packages/artifact/src/internal/upload/upload-artifact.ts +++ b/packages/artifact/src/internal/upload/upload-artifact.ts @@ -76,7 +76,11 @@ export async function uploadArtifact( const uploadResult = await uploadZipToBlobStorage( createArtifactResp.signedUploadUrl, zipUploadStream - ) + ).catch(err => { + throw new InvalidResponseError( + `uploadZipToBlobStorage: response blob was not ok: ${err}` + ) + }) // finalize the artifact const finalizeArtifactReq: FinalizeArtifactRequest = { workflowRunBackendId: backendIds.workflowRunBackendId,