summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratalmenev <[email protected]>2025-07-16 16:39:45 +0300
committeratalmenev <[email protected]>2025-07-16 17:36:36 +0300
commit9f190a0f27060b641cb8bf411a469316701a11ec (patch)
tree7437f99b724d2e006ba9d0d31e566621976044bd
parentef045b77ff78b1860689616c25519d87081b6cbf (diff)
YT-21374: Table path in an error related to large values
commit_hash:aaed596f9fb2461a2b0c4874ac6734ba04ea0d51
-rw-r--r--yt/yt/client/table_client/wire_protocol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/yt/yt/client/table_client/wire_protocol.cpp b/yt/yt/client/table_client/wire_protocol.cpp
index e7b942506e0..6ccc7a40f84 100644
--- a/yt/yt/client/table_client/wire_protocol.cpp
+++ b/yt/yt/client/table_client/wire_protocol.cpp
@@ -871,7 +871,9 @@ private:
limit = Options_.MaxCompositeValueLength;
}
if (length > limit) {
- THROW_ERROR_EXCEPTION("Value of type %Qlv is too long: length %v, limit %v",
+ THROW_ERROR_EXCEPTION(
+ NTableClient::EErrorCode::StringLikeValueLengthLimitExceeded,
+ "Value of type %Qlv is too long: length %v, limit %v",
type,
length,
limit);