diff --git a/internal/bundlegen/proxybundle/proxybundle.go b/internal/bundlegen/proxybundle/proxybundle.go index 1b07ccdf5..4dd2cb1a1 100644 --- a/internal/bundlegen/proxybundle/proxybundle.go +++ b/internal/bundlegen/proxybundle/proxybundle.go @@ -640,6 +640,9 @@ func archiveBundle(pathToZip, destinationPath string, sharedflow bool) (err erro myZip := zip.NewWriter(destinationFile) err = filepath.Walk(pathToZip, func(filePath string, info os.FileInfo, err error) error { + if err != nil { + return err + } if info.IsDir() { // for the first time, add the rootDir as the zipEntry if parentFolder {