From de9b991c81765852b252ced46a765cc1e545e698 Mon Sep 17 00:00:00 2001 From: qyryq Date: Fri, 6 Sep 2024 21:55:41 +0300 Subject: [PATCH] Fix log message in GenerateCookie (#8890) --- ydb/core/persqueue/ownerinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ydb/core/persqueue/ownerinfo.cpp b/ydb/core/persqueue/ownerinfo.cpp index d894d07f0ef5..4d2e7e4151e9 100644 --- a/ydb/core/persqueue/ownerinfo.cpp +++ b/ydb/core/persqueue/ownerinfo.cpp @@ -19,7 +19,8 @@ namespace NPQ { THolder response = MakeHolder(); response->Record.SetStatus(NMsgBusProxy::MSTATUS_OK); response->Record.SetErrorCode(NPersQueue::NErrorCode::BAD_REQUEST); - response->Record.SetErrorReason("ownership session is killed by another session with id " + OwnerCookie + " partition id " + partition.OriginalPartitionId); + response->Record.SetErrorReason(TStringBuilder() << "ownership session is killed by another session with id " << OwnerCookie + << " partition id " << partition.OriginalPartitionId); ctx.Send(Sender, response.Release()); } Sender = sender;