Skip to content

Commit de9b991

Browse files
authored
Fix log message in GenerateCookie (#8890)
1 parent 94836dd commit de9b991

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/persqueue/ownerinfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ namespace NPQ {
1919
THolder<TEvPersQueue::TEvResponse> response = MakeHolder<TEvPersQueue::TEvResponse>();
2020
response->Record.SetStatus(NMsgBusProxy::MSTATUS_OK);
2121
response->Record.SetErrorCode(NPersQueue::NErrorCode::BAD_REQUEST);
22-
response->Record.SetErrorReason("ownership session is killed by another session with id " + OwnerCookie + " partition id " + partition.OriginalPartitionId);
22+
response->Record.SetErrorReason(TStringBuilder() << "ownership session is killed by another session with id " << OwnerCookie
23+
<< " partition id " << partition.OriginalPartitionId);
2324
ctx.Send(Sender, response.Release());
2425
}
2526
Sender = sender;

0 commit comments

Comments
 (0)