Skip to content

Commit

Permalink
fix exception message on rcl_clock_init. (ros2#1182)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
  • Loading branch information
fujitatomoya authored and Joshua Hampp committed Jul 7, 2020
1 parent ec8e0d0 commit 8e7e2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/src/rclcpp/clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Clock::Impl
{
rcl_ret_t ret = rcl_clock_init(clock_type, &rcl_clock_, &allocator_);
if (ret != RCL_RET_OK) {
exceptions::throw_from_rcl_error(ret, "could not get current time stamp");
exceptions::throw_from_rcl_error(ret, "failed to initialize rcl clock");
}
}

Expand Down

0 comments on commit 8e7e2a2

Please sign in to comment.