Skip to content

Commit 34577b2

Browse files
authored
Remove error annotations why retrying artifact download (#1309)
1 parent 06c3c38 commit 34577b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/artifact/src/internal/download-http-client.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export class DownloadHttpClient {
311311
const gunzip = zlib.createGunzip()
312312
response.message
313313
.on('error', error => {
314-
core.error(
314+
core.info(
315315
`An error occurred while attempting to read the response stream`
316316
)
317317
gunzip.close()
@@ -320,7 +320,7 @@ export class DownloadHttpClient {
320320
})
321321
.pipe(gunzip)
322322
.on('error', error => {
323-
core.error(
323+
core.info(
324324
`An error occurred while attempting to decompress the response stream`
325325
)
326326
destinationStream.close()
@@ -331,15 +331,15 @@ export class DownloadHttpClient {
331331
resolve()
332332
})
333333
.on('error', error => {
334-
core.error(
334+
core.info(
335335
`An error occurred while writing a downloaded file to ${destinationStream.path}`
336336
)
337337
reject(error)
338338
})
339339
} else {
340340
response.message
341341
.on('error', error => {
342-
core.error(
342+
core.info(
343343
`An error occurred while attempting to read the response stream`
344344
)
345345
destinationStream.close()
@@ -350,7 +350,7 @@ export class DownloadHttpClient {
350350
resolve()
351351
})
352352
.on('error', error => {
353-
core.error(
353+
core.info(
354354
`An error occurred while writing a downloaded file to ${destinationStream.path}`
355355
)
356356
reject(error)

0 commit comments

Comments
 (0)