We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a2cabc commit 5dcc110Copy full SHA for 5dcc110
grpc/src/ugrpc/client/call_options.cpp
@@ -49,7 +49,10 @@ bool IsValidMetadataAsciiValue(std::string_view meta_key) {
49
void CheckCustomMetadata(std::string_view meta_key, std::string_view meta_value) {
50
UINVARIANT(IsValidMetadataHeaderName(meta_key), fmt::format("Invalid Custom Metadata Key: {}", meta_key));
51
if (!utils::text::EndsWith(meta_key, "-bin")) {
52
- UINVARIANT(IsValidMetadataAsciiValue(meta_value), fmt::format("Invalid Custom Metadata Value: {}", meta_value));
+ UINVARIANT(
53
+ IsValidMetadataAsciiValue(meta_value),
54
+ fmt::format("Invalid Custom Metadata Value, Key: {}", meta_key)
55
+ );
56
}
57
58
0 commit comments