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;