diff options
author | babenko <babenko@yandex-team.com> | 2023-08-13 00:09:17 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2023-08-13 01:12:14 +0300 |
commit | ffeb778d515beddbd1c6df7e28466a494f110bc2 (patch) | |
tree | 2d9b8e1f9190627ce1c78949b0a4f715e5be21b9 | |
parent | e39b213bfd42ea8354e51c75cf6d016f5ae12695 (diff) | |
download | ydb-ffeb778d515beddbd1c6df7e28466a494f110bc2.tar.gz |
Error cosmetics
-rw-r--r-- | yt/yt/core/misc/statistics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt/yt/core/misc/statistics.cpp b/yt/yt/core/misc/statistics.cpp index 8c7d836c03..95b7a2d38e 100644 --- a/yt/yt/core/misc/statistics.cpp +++ b/yt/yt/core/misc/statistics.cpp @@ -172,9 +172,9 @@ void TStatistics::ProcessNodeWithCallback(const NYPath::TYPath& path, const NYTr default: THROW_ERROR_EXCEPTION( - "Invalid statistics type: expected map or integral type but found %v of type %v", - ConvertToYsonString(sample, EYsonFormat::Text).AsStringBuf(), - sample->GetType()); + "Invalid statistics type: expected map or integral type but found sample of type %Qlv", + sample->GetType()) + << TErrorAttribute("sample", sample); } } |