From 9d1add32e588602d826bcfe6a0dab95926ee25d7 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Wed, 26 Jul 2023 17:26:32 +0200 Subject: [PATCH] jsonToGrpc.h: Some issues with conversion of error message to string between gRPC version --- common/jsonToGrpc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/jsonToGrpc.h b/common/jsonToGrpc.h index a06accbd..1ec84a07 100644 --- a/common/jsonToGrpc.h +++ b/common/jsonToGrpc.h @@ -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; }