mirror of https://github.com/actions/toolkit
adding more logging
parent
26b62e0fd5
commit
e4c0440c3a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue