mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 03:29:06 +08:00
adding more descriptive error
This commit is contained in:
parent
96ef8d5d33
commit
c5f3463c0b
@ -69,7 +69,7 @@ export async function createZipUploadStream(
|
||||
fileUploadQueue.push(
|
||||
zip.entry(readStream, {name: file.destinationPath}, function (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(
|
||||
zip.entry(null, {name: `${file.destinationPath}/`}, function (err) {
|
||||
if (err) {
|
||||
core.error('An error occurred:', err)
|
||||
core.error('A directory entry error occurred:', err)
|
||||
}
|
||||
})
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user