1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-03 15:46:44 +02:00

adjust error format

This commit is contained in:
Chris Lu 2018-10-09 01:35:30 -07:00
parent 88ad8d3a89
commit 453d0be4d4

View file

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