From da61fd8bcbbc1baee100ffe6467f28c80ea40f90 Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Wed, 19 Oct 2022 16:14:29 +0400 Subject: [PATCH] [#728] Add error message to AbortMultipartUpload Signed-off-by: Angira Kekteeva --- api/layer/multipart_upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/layer/multipart_upload.go b/api/layer/multipart_upload.go index 498dabc67..619ef3d3d 100644 --- a/api/layer/multipart_upload.go +++ b/api/layer/multipart_upload.go @@ -536,7 +536,7 @@ func (n *layer) AbortMultipartUpload(ctx context.Context, p *UploadInfoParams) e for _, info := range parts { if err = n.objectDelete(ctx, p.Bkt, info.OID); err != nil { n.log.Warn("couldn't delete part", zap.String("cid", p.Bkt.CID.EncodeToString()), - zap.String("oid", info.OID.EncodeToString()), zap.Int("part number", info.Number)) + zap.String("oid", info.OID.EncodeToString()), zap.Int("part number", info.Number), zap.Error(err)) } }