mirror of https://github.com/actions/toolkit
adding more descriptive error
parent
96ef8d5d33
commit
c5f3463c0b
|
@ -69,7 +69,7 @@ export async function createZipUploadStream(
|
||||||
fileUploadQueue.push(
|
fileUploadQueue.push(
|
||||||
zip.entry(readStream, {name: file.destinationPath}, function (err) {
|
zip.entry(readStream, {name: file.destinationPath}, function (err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
core.error('An error occurred:', err)
|
core.error('A file entry error occurred:', err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -77,7 +77,7 @@ export async function createZipUploadStream(
|
||||||
fileUploadQueue.push(
|
fileUploadQueue.push(
|
||||||
zip.entry(null, {name: `${file.destinationPath}/`}, function (err) {
|
zip.entry(null, {name: `${file.destinationPath}/`}, function (err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
core.error('An error occurred:', err)
|
core.error('A directory entry error occurred:', err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue