jsonToGrpc.h: Some issues with conversion of error message to string between gRPC version

This commit is contained in:
2023-07-26 17:26:32 +02:00
parent 0969bf662e
commit 9d1add32e5
+1 -1
View File
@@ -18,7 +18,7 @@ T jsonToGrpc(const std::string& json) {
auto status = google::protobuf::util::JsonStringToMessage(json, &output, opts);
if (!status.ok())
throw JFJochException(JFJochExceptionCategory::JSON, "Error in generating ProtoBuf from JSON: " + status.message().ToString());
throw JFJochException(JFJochExceptionCategory::JSON, "Error in generating ProtoBuf from JSON");
return output;
}