From 3a3ba55fa271f6e7696b29bd7fa9680ad72d80dc Mon Sep 17 00:00:00 2001 From: tomoya Date: Fri, 26 Jun 2020 01:45:13 +0900 Subject: [PATCH] fix exception message on rcl_clock_init (#1182) (#1193) * fix exception message on rcl_clock_init. Signed-off-by: Tomoya.Fujita * error messages start with lower case. Signed-off-by: Tomoya.Fujita --- rclcpp/src/rclcpp/clock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclcpp/src/rclcpp/clock.cpp b/rclcpp/src/rclcpp/clock.cpp index 4993df7..ed610b8 100644 --- a/rclcpp/src/rclcpp/clock.cpp +++ b/rclcpp/src/rclcpp/clock.cpp @@ -32,7 +32,7 @@ public: { 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"); } }