diff --git a/apps/agent/services/ratelimit/sync_with_origin.go b/apps/agent/services/ratelimit/sync_with_origin.go index fe1edd9ac2..332743754e 100644 --- a/apps/agent/services/ratelimit/sync_with_origin.go +++ b/apps/agent/services/ratelimit/sync_with_origin.go @@ -43,7 +43,7 @@ func (s *service) syncWithOrigin(req syncWithOriginRequest) { }) if err != nil { s.peersMu.Lock() - s.logger.Warn().Err(err).Msg("resetting peer client due to error") + s.logger.Warn().Str("peerId", peer.Id).Err(err).Msg("resetting peer client due to error") delete(s.peers, peer.Id) s.peersMu.Unlock() tracing.RecordError(span, err)