Skip to content

Commit

Permalink
Corrected errorgit add *
Browse files Browse the repository at this point in the history
Signed-off-by: ivanpauno <[email protected]>
  • Loading branch information
ivanpauno committed Sep 16, 2019
1 parent 2c9808e commit e3e5ce2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rmw_fastrtps_shared_cpp/src/rmw_node_info_and_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ rmw_ret_t __get_guid_by_name(
});

if (guid_node_pair == impl->listener->discovered_names.end()) {
RMW_SET_ERROR_MSG("Node name not found: ns='%s', name='%s", node_namespace, node_name);
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

0 comments on commit e3e5ce2

Please sign in to comment.