Skip to content

Commit

Permalink
Update rclpy/src/rclpy/type_description_service.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Michael Carroll <carroll.michael@gmail.com>
  • Loading branch information
mjcarroll and fujitatomoya authored Oct 30, 2023
1 parent fa34425 commit 02e459c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/type_description_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ TypeDescriptionService::TypeDescriptionService(Node & node)
auto srv_ptr = std::make_shared<rcl_service_t>();
rcl_ret_t ret = rcl_node_type_description_service_init(srv_ptr.get(), node.rcl_ptr());
if (RCL_RET_OK != ret) {
throw RCLError("Failed to retrieve type description service implementation");
throw RCLError("Failed to initialize type description service");
}
service_ = std::make_shared<Service>(node, srv_ptr);
}
Expand Down

0 comments on commit 02e459c

Please sign in to comment.