aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dcherednik@yandex-team.ru>2022-03-15 00:53:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-03-15 00:53:05 +0300
commitcb28126b60e3c931a990a81363fd3ae2357b8bc0 (patch)
tree8b979cba717963ac7bb4d0b5502e87003a46c915
parent7a66e741ea353773fc4b282b96a7438a87dcfc5d (diff)
downloadydb-cb28126b60e3c931a990a81363fd3ae2357b8bc0.tar.gz
Improve issue message. KIKIMR-13277
ref:e5ad08063b30e96b85af54fd76eb93428dc1ccfc
-rw-r--r--ydb/core/grpc_services/rpc_rate_limiter_api.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ydb/core/grpc_services/rpc_rate_limiter_api.cpp b/ydb/core/grpc_services/rpc_rate_limiter_api.cpp
index 5579be8bdb..c59e0f7aed 100644
--- a/ydb/core/grpc_services/rpc_rate_limiter_api.cpp
+++ b/ydb/core/grpc_services/rpc_rate_limiter_api.cpp
@@ -54,7 +54,10 @@ public:
if (!TrustedZone && !GetCoordinationNodePath().StartsWith(databaseName)) {
status = StatusIds::BAD_REQUEST;
- issues.AddIssue("Coordination node path not belong to current database.");
+ issues.AddIssue(TStringBuilder()
+ << "Coordination node path: " << GetCoordinationNodePath()
+ << " does not belong to current database: " << databaseName
+ << ".");
return false;
}
return true;