Skip to content

Commit

Permalink
Correct error message when event is not supported (#358)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno authored Mar 31, 2020
1 parent 99d9178 commit c92b8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_fastrtps_shared_cpp/src/rmw_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ __rmw_init_event(
identifier,
return RMW_RET_INCORRECT_RMW_IMPLEMENTATION);
if (!internal::is_event_supported(event_type)) {
RMW_SET_ERROR_MSG("provided event_type is not supported by rmw_fastrtps_cpp");
RMW_SET_ERROR_MSG_WITH_FORMAT_STRING("provided event_type is not supported by %s", identifier);
return RMW_RET_UNSUPPORTED;
}

Expand Down

0 comments on commit c92b8ca

Please sign in to comment.