Browse Source

Fix log message in GenerateCookie (#8890)

qyryq 6 months ago
parent
commit
de9b991c81
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ydb/core/persqueue/ownerinfo.cpp

+ 2 - 1
ydb/core/persqueue/ownerinfo.cpp

@@ -19,7 +19,8 @@ namespace NPQ {
             THolder<TEvPersQueue::TEvResponse> response = MakeHolder<TEvPersQueue::TEvResponse>();
             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;