diff --git a/common/grpcToJson.h b/common/grpcToJson.h index bac0a040..334a64c8 100644 --- a/common/grpcToJson.h +++ b/common/grpcToJson.h @@ -18,7 +18,7 @@ inline std::string grpcToJson(const google::protobuf::Message &message) { std::string s; auto status = google::protobuf::util::MessageToJsonString(message, &s, opts); if (!status.ok()) - throw JFJochException(JFJochExceptionCategory::JSON, "Error in generating JSON from ProtoBuf: " + status.message().ToString()); + throw JFJochException(JFJochExceptionCategory::JSON, "Error in generating JSON from ProtoBuf"); return s; }