From 0a0e70d1cd3d4052cb98cbe49751c4faeacfbf28 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Thu, 28 Mar 2024 19:09:53 +0000 Subject: [PATCH] Add another catch to see if upload stream is failing --- packages/artifact/src/internal/upload/blob-upload.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/artifact/src/internal/upload/blob-upload.ts b/packages/artifact/src/internal/upload/blob-upload.ts index 04232594..bc045c09 100644 --- a/packages/artifact/src/internal/upload/blob-upload.ts +++ b/packages/artifact/src/internal/upload/blob-upload.ts @@ -68,6 +68,9 @@ export async function uploadZipToBlobStorage( ) await blockBlobClient .uploadStream(uploadStream, bufferSize, maxConcurrency, options) + .catch(error => { + core.info(`Upload stream error: ${error}`) + }) .then(response => { core.info(`Upload stream response: ${response}`) })