Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

adjust error format

Chris Lu453d0be4d4f3
diff --git a/weed/replication/sink/gcssink/gcs_sink.go b/weed/replication/sink/gcssink/gcs_sink.go
index db71aa1f97..55012ecc72 100644
--- a/weed/replication/sink/gcssink/gcs_sink.go
+++ b/weed/replication/sink/gcssink/gcs_sink.go
@@ -76,7 +76,7 @@ func (g *GcsSink) DeleteEntry(key string, isDirectory, deleteIncludeChunks bool)
}
if err := g.client.Bucket(g.bucket).Object(key).Delete(context.Background()); err != nil {
- return fmt.Errorf("gcs delete %s %s", g.bucket, key)
+ return fmt.Errorf("gcs delete %s%s: %v", g.bucket, key, err)
}
return nil