Skip to content
This repository was archived by the owner on Oct 7, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions rmw_opensplice_cpp/src/rmw_node_info_and_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,12 @@ __get_key(
return RMW_RET_OK;
}

RMW_SET_ERROR_MSG("unable to match node_name/namespace with discovered nodes.");
return RMW_RET_ERROR;
RMW_SET_ERROR_MSG_WITH_FORMAT_STRING(
"Node name not found: ns='%s', name='%s",
node_namespace,
node_name
);
return RMW_RET_NODE_NAME_NON_EXISTENT;
}

rmw_ret_t
Expand Down