From 34577b269e5e62940def6f896be2f4a56030e2d2 Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Wed, 11 Jan 2023 13:53:41 -0500 Subject: [PATCH] Remove error annotations why retrying artifact download (#1309) --- packages/artifact/src/internal/download-http-client.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/artifact/src/internal/download-http-client.ts b/packages/artifact/src/internal/download-http-client.ts index e365f3af..e9bf4c89 100644 --- a/packages/artifact/src/internal/download-http-client.ts +++ b/packages/artifact/src/internal/download-http-client.ts @@ -311,7 +311,7 @@ export class DownloadHttpClient { const gunzip = zlib.createGunzip() response.message .on('error', error => { - core.error( + core.info( `An error occurred while attempting to read the response stream` ) gunzip.close() @@ -320,7 +320,7 @@ export class DownloadHttpClient { }) .pipe(gunzip) .on('error', error => { - core.error( + core.info( `An error occurred while attempting to decompress the response stream` ) destinationStream.close() @@ -331,7 +331,7 @@ export class DownloadHttpClient { resolve() }) .on('error', error => { - core.error( + core.info( `An error occurred while writing a downloaded file to ${destinationStream.path}` ) reject(error) @@ -339,7 +339,7 @@ export class DownloadHttpClient { } else { response.message .on('error', error => { - core.error( + core.info( `An error occurred while attempting to read the response stream` ) destinationStream.close() @@ -350,7 +350,7 @@ export class DownloadHttpClient { resolve() }) .on('error', error => { - core.error( + core.info( `An error occurred while writing a downloaded file to ${destinationStream.path}` ) reject(error)