Skip to content
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
11 changes: 6 additions & 5 deletions rmw_fastrtps_shared_cpp/src/rmw_node_info_and_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@ rmw_ret_t __get_guid_by_name(
});

if (guid_node_pair == impl->listener->discovered_names.end()) {
RCUTILS_LOG_ERROR_NAMED(
kLoggerTag,
"Unable to find GUID for node: %s", node_name);
RMW_SET_ERROR_MSG("Unable to find GUID for node ");
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;
}
guid = guid_node_pair->first;
}
Expand Down