1
0
Fork 0

adding more logging

pull/1700/head
Vallie Joseph 2024-03-28 18:40:37 +00:00
parent 26b62e0fd5
commit e4c0440c3a
1 changed files with 6 additions and 1 deletions

View File

@ -57,13 +57,18 @@ export async function uploadZipToBlobStorage(
const isItClosed = zipUploadStream.closed const isItClosed = zipUploadStream.closed
core.info(`Is the zipUploadStream closed? ${isItClosed}`) // it is not closed, that's good core.info(`Is the zipUploadStream closed? ${isItClosed}`) // it is not closed, that's good
try { try {
core.info(
'1 Even more beginning upload of artifact content to blob storage'
)
await blockBlobClient.uploadStream( await blockBlobClient.uploadStream(
uploadStream, uploadStream,
bufferSize, bufferSize,
maxConcurrency, maxConcurrency,
options options
) )
core.info('Even more beginning upload of artifact content to blob storage') core.info(
'2 Even more beginning upload of artifact content to blob storage'
)
} catch (error) { } catch (error) {
if (NetworkError.isNetworkErrorCode(error?.code)) { if (NetworkError.isNetworkErrorCode(error?.code)) {
throw new NetworkError(error?.code) throw new NetworkError(error?.code)