From 48ecb02678b630d43a754ec8cd6e6a9bcb30d51f Mon Sep 17 00:00:00 2001 From: Wiktor Bajor Date: Wed, 24 Jan 2024 19:23:41 +0100 Subject: [PATCH] Re-throw exception after logging issue --- gazebo_ros2_control/src/gazebo_system.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gazebo_ros2_control/src/gazebo_system.cpp b/gazebo_ros2_control/src/gazebo_system.cpp index 7e9b4a8f..c688541c 100644 --- a/gazebo_ros2_control/src/gazebo_system.cpp +++ b/gazebo_ros2_control/src/gazebo_system.cpp @@ -248,6 +248,7 @@ void GazeboSystem::registerJoints( << " and state interface " << interface_info.name << ". Actual value of parameter: " << interface_info.initial_value << ". Initial value will be set to 0.0"); + throw std::invalid_argument("Failed converting initial_value string"); } } return initial_value;