Skip to content

Commit

Permalink
Adding more error handlrs
Browse files Browse the repository at this point in the history
  • Loading branch information
vmjoseph committed Mar 28, 2024
1 parent 17c4cab commit b6c87ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/artifact/src/internal/upload/blob-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ export async function uploadZipToBlobStorage(
core.info(`is the upload stream readable? ${uploadStream.readable}`)
core.info(`is the upload stream writable? ${uploadStream.writable}`)
core.info(`are we exceeding the max concurrency? ${maxConcurrency}`)

zipUploadStream.on('error', error => {
core.info(`Error in zipUploadStream: ${error}`)
})

uploadStream.on('error', error => {
core.info(`Error in uploadStream:', ${error}`)
})
try {
core.info(
'1 Even more beginning upload of artifact content to blob storage'
Expand Down

0 comments on commit b6c87ce

Please sign in to comment.