From 6c5fb5eee5b5312ad565ddb57779e90d594c7d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 3 Jan 2024 11:55:06 +0100 Subject: [PATCH] make linters happy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- gz_ros2_control/src/gz_ros2_control_plugin.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gz_ros2_control/src/gz_ros2_control_plugin.cpp b/gz_ros2_control/src/gz_ros2_control_plugin.cpp index 01e10068..f2585935 100644 --- a/gz_ros2_control/src/gz_ros2_control_plugin.cpp +++ b/gz_ros2_control/src/gz_ros2_control_plugin.cpp @@ -429,14 +429,16 @@ void GazeboSimROS2ControlPlugin::Configure( this->dataPtr->node_->declare_parameter("hold_joints", rclcpp::ParameterValue(hold_joints)); } catch (const rclcpp::exceptions::ParameterAlreadyDeclaredException & e) { RCLCPP_ERROR( - this->dataPtr->node_->get_logger(), "Parameter 'hold_joints' has already been declared, %s", + this->dataPtr->node_->get_logger(), "Parameter 'hold_joints' has already been declared, %s", e.what()); } catch (const rclcpp::exceptions::InvalidParametersException & e) { RCLCPP_ERROR( - this->dataPtr->node_->get_logger(), "Parameter 'hold_joints' has invalid name, %s", e.what()); + this->dataPtr->node_->get_logger(), "Parameter 'hold_joints' has invalid name, %s", + e.what()); } catch (const rclcpp::exceptions::InvalidParameterValueException & e) { RCLCPP_ERROR( - this->dataPtr->node_->get_logger(), "Parameter 'hold_joints' value is invalid, %s", e.what()); + this->dataPtr->node_->get_logger(), "Parameter 'hold_joints' value is invalid, %s", + e.what()); } catch (const rclcpp::exceptions::InvalidParameterTypeException & e) { RCLCPP_ERROR( this->dataPtr->node_->get_logger(), "Parameter 'hold_joints' value has wrong type, %s",