Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

combine: don't return an error message as the remote name for a bad object

Nick Craig-Wood454430a057a4
diff --git a/backend/combine/combine.go b/backend/combine/combine.go
index 6c74c343f..bea73472a 100644
--- a/backend/combine/combine.go
+++ b/backend/combine/combine.go
@@ -1104,7 +1104,7 @@ func (o *Object) Remote() string {
newPath, err := o.u.pathAdjustment.do(o.Object.String())
if err != nil {
fs.Errorf(o.Object, "Bad object: %v", err)
- return err.Error()
+ return ""
}
return newPath
}