From 93a0c139541f5e38164ff67b941f422a171dea18 Mon Sep 17 00:00:00 2001 From: "Jonathan Thorpe (Sony)" Date: Mon, 14 Oct 2024 14:09:04 +0100 Subject: [PATCH] Return NcMethosResultError instead of NcMethodResult --- Development/nmos/control_protocol_methods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Development/nmos/control_protocol_methods.cpp b/Development/nmos/control_protocol_methods.cpp index 4f50a6a3..0023c311 100644 --- a/Development/nmos/control_protocol_methods.cpp +++ b/Development/nmos/control_protocol_methods.cpp @@ -278,7 +278,7 @@ namespace nmos utility::stringstream_t ss; ss << "Add sequence item: " << property_id.serialize() << " value: " << val.serialize() << " error: " << e.what(); slog::log(gate, SLOG_FLF) << ss.str(); - return details::make_nc_method_result({ nc_method_status::parameter_error }); + return details::make_nc_method_result_error({ nc_method_status::parameter_error }, ss.str()); } }