Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Continue export on unpacking err

Neeraj Guptac4f203ac7cf5
diff --git a/pkg/remote_to_disk_file.go b/pkg/remote_to_disk_file.go
index fc495e66f0..a192d48a39 100644
--- a/pkg/remote_to_disk_file.go
+++ b/pkg/remote_to_disk_file.go
@@ -1,6 +1,7 @@
package pkg
import (
+ "archive/zip"
"context"
"encoding/json"
"errors"
@@ -70,6 +71,9 @@ func (c *ClICtrl) syncFiles(ctx context.Context, account model.Account) error {
if err != nil {
if errors.Is(err, model.ErrDecryption) {
continue
+ } else if existingEntry.IsLivePhoto() && errors.Is(err, zip.ErrFormat) {
+ log.Printf(fmt.Sprintf("err processing live photo %s (%d), %s", existingEntry.GetTitle(), existingEntry.ID, err.Error()))
+ continue
} else {
return err
}