diff options
author | ulanovgeorgiy <ulanovgeorgiy@yandex-team.com> | 2023-02-02 15:45:06 +0300 |
---|---|---|
committer | ulanovgeorgiy <ulanovgeorgiy@yandex-team.com> | 2023-02-02 15:45:06 +0300 |
commit | 4676a64273b09b50f84bd7bc93a1ce598512f136 (patch) | |
tree | e61825a8073060303ddcba6658d6a13b90f85055 /library/cpp/protobuf/util/pb_io.h | |
parent | d356fcb037bfbba8740bde2db0f51a8b4aaa9128 (diff) | |
download | ydb-4676a64273b09b50f84bd7bc93a1ce598512f136.tar.gz |
enabling writing error message to exception in the default
Diffstat (limited to 'library/cpp/protobuf/util/pb_io.h')
-rw-r--r-- | library/cpp/protobuf/util/pb_io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/protobuf/util/pb_io.h b/library/cpp/protobuf/util/pb_io.h index 04c6ebb305..e10cee8a37 100644 --- a/library/cpp/protobuf/util/pb_io.h +++ b/library/cpp/protobuf/util/pb_io.h @@ -59,8 +59,8 @@ void SerializeToTextFormatWithEnumId(const NProtoBuf::Message& m, IOutputStream& enum class EParseFromTextFormatOption : ui64 { // Unknown fields will be ignored by the parser AllowUnknownField = 1, - // Error message will be writen to exception message instead of cerr - WriteErrorMessageToException = 2 + // Error message will be will be written to stderr in the original format + ForceWriteParsingErrorsToCerr = 2 }; Y_DECLARE_FLAGS(EParseFromTextFormatOptions, EParseFromTextFormatOption); |