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; }