diff --git a/ydb/core/http_proxy/http_service.cpp b/ydb/core/http_proxy/http_service.cpp index 7ac573c3be2b..f476b4ceaf32 100644 --- a/ydb/core/http_proxy/http_service.cpp +++ b/ydb/core/http_proxy/http_service.cpp @@ -103,7 +103,8 @@ namespace NKikimr::NHttpProxy { try { auto signature = context.GetSignature(); - Processors->Execute(context.MethodName, std::move(context), std::move(signature), ctx); + auto methodName = context.MethodName; + Processors->Execute(std::move(context.MethodName), std::move(context), std::move(signature), ctx); } catch (const NKikimr::NSQS::TSQSException& e) { context.ResponseData.Status = NYdb::EStatus::BAD_REQUEST; context.ResponseData.ErrorText = e.what();