forked from TrueCloudLab/frostfs-node
[#882] policer: add CID to the error message
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
4912cdaaca
commit
b8ba677c85
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ func (p *Policer) processObject(ctx context.Context, addr *object.Address) {
|
||||||
cnr, err := p.cnrSrc.Get(addr.ContainerID())
|
cnr, err := p.cnrSrc.Get(addr.ContainerID())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
p.log.Error("could not get container",
|
p.log.Error("could not get container",
|
||||||
|
zap.Stringer("cid", addr.ContainerID()),
|
||||||
zap.String("error", err.Error()),
|
zap.String("error", err.Error()),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue