diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-16 20:19:28 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-16 20:52:22 +0300 |
commit | 23b4cd86157da8b9f0f8acd5ef46acfab39669db (patch) | |
tree | 09572627315c6029e0434702e8330c557476ff06 /library/cpp/protobuf | |
parent | 05d934cd8bfcf7ce4b6241d6bd2914cc776877f9 (diff) | |
download | ydb-23b4cd86157da8b9f0f8acd5ef46acfab39669db.tar.gz |
Y_VERIFY_DEBUG->Y_DEBUG_ABORT_UNLESS at '-v ydb'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/protobuf')
-rw-r--r-- | library/cpp/protobuf/json/json2proto.cpp | 2 | ||||
-rw-r--r-- | library/cpp/protobuf/json/proto2json_printer.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/protobuf/json/json2proto.cpp b/library/cpp/protobuf/json/json2proto.cpp index 067e307146..0a623736cc 100644 --- a/library/cpp/protobuf/json/json2proto.cpp +++ b/library/cpp/protobuf/json/json2proto.cpp @@ -74,7 +74,7 @@ static TString GetFieldName(const google::protobuf::FieldDescriptor& field, NProtobufJson::ToSnakeCaseDense(&name); break; default: - Y_VERIFY_DEBUG(false, "Unknown FieldNameMode."); + Y_DEBUG_ABORT_UNLESS(false, "Unknown FieldNameMode."); } return name; } diff --git a/library/cpp/protobuf/json/proto2json_printer.cpp b/library/cpp/protobuf/json/proto2json_printer.cpp index 2b2c9b1713..456d1c43c5 100644 --- a/library/cpp/protobuf/json/proto2json_printer.cpp +++ b/library/cpp/protobuf/json/proto2json_printer.cpp @@ -81,7 +81,7 @@ namespace NProtobufJson { } default: - Y_VERIFY_DEBUG(false, "Unknown FieldNameMode."); + Y_DEBUG_ABORT_UNLESS(false, "Unknown FieldNameMode."); } } @@ -187,7 +187,7 @@ namespace NProtobufJson { } default: - Y_VERIFY_DEBUG(false, "Unknown EnumMode."); + Y_DEBUG_ABORT_UNLESS(false, "Unknown EnumMode."); } } |