From c5f3463c0be6740f7d512b54b77cfcef8c7608d6 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Tue, 2 Apr 2024 05:25:10 +0000 Subject: [PATCH] adding more descriptive error --- packages/artifact/src/internal/upload/zip.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/artifact/src/internal/upload/zip.ts b/packages/artifact/src/internal/upload/zip.ts index e5f5b6af..9c016650 100644 --- a/packages/artifact/src/internal/upload/zip.ts +++ b/packages/artifact/src/internal/upload/zip.ts @@ -69,7 +69,7 @@ export async function createZipUploadStream( fileUploadQueue.push( zip.entry(readStream, {name: file.destinationPath}, function (err) { if (err) { - core.error('An error occurred:', err) + core.error('A file entry error occurred:', err) } }) ) @@ -77,7 +77,7 @@ export async function createZipUploadStream( fileUploadQueue.push( zip.entry(null, {name: `${file.destinationPath}/`}, function (err) { if (err) { - core.error('An error occurred:', err) + core.error('A directory entry error occurred:', err) } }) )