1
0
Fork 0

adding more descriptive error

pull/1700/head
Vallie Joseph 2024-04-02 05:25:10 +00:00
parent 96ef8d5d33
commit c5f3463c0b
1 changed files with 2 additions and 2 deletions

View File

@ -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)
} }
}) })
) )