diff --git a/cpp/frameProcessor/src/DummyUDPProcessPlugin.cpp b/cpp/frameProcessor/src/DummyUDPProcessPlugin.cpp index 01d760f0..6f66d563 100644 --- a/cpp/frameProcessor/src/DummyUDPProcessPlugin.cpp +++ b/cpp/frameProcessor/src/DummyUDPProcessPlugin.cpp @@ -183,6 +183,10 @@ namespace FrameProcessor LOG4CXX_ERROR(logger_, is.str()); throw std::runtime_error(is.str().c_str()); } + } else { + std::string is = "Submitted command(s) are not supported"; + LOG4CXX_ERROR(logger_, is); + throw std::runtime_error(is.c_str()); } } @@ -196,8 +200,9 @@ namespace FrameProcessor */ void DummyUDPProcessPlugin::requestCommands(OdinData::IpcMessage& reply) { - std::string command_str = get_name() + "/" + DummyUDPProcessPlugin::EXECUTE_PRINT + "/"; - reply.set_param(command_str + DummyUDPProcessPlugin::EXECUTE_PRINT_NAME, ""); + const std::string command_str = get_name() + "/" + DummyUDPProcessPlugin::EXECUTE_PRINT + "/" + DummyUDPProcessPlugin::EXECUTE_PRINT_NAME; + const std::string val_str = ""; + reply.set_param(command_str, val_str); } /**