We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f9576c commit 2017684Copy full SHA for 2017684
1 file changed
rmw_fastrtps_shared_cpp/src/rmw_node_info_and_types.cpp
@@ -81,11 +81,12 @@ rmw_ret_t __get_guid_by_name(
81
});
82
83
if (guid_node_pair == impl->listener->discovered_names.end()) {
84
- RCUTILS_LOG_ERROR_NAMED(
85
- kLoggerTag,
86
- "Unable to find GUID for node: %s", node_name);
87
- RMW_SET_ERROR_MSG("Unable to find GUID for node ");
88
- return RMW_RET_ERROR;
+ RMW_SET_ERROR_MSG_WITH_FORMAT_STRING(
+ "Node name not found: ns='%s', name='%s",
+ node_namespace,
+ node_name
+ );
89
+ return RMW_RET_NODE_NAME_NON_EXISTENT;
90
}
91
guid = guid_node_pair->first;
92
0 commit comments