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",