We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d37466 commit 48e7e06Copy full SHA for 48e7e06
nav2_behavior_tree/include/nav2_behavior_tree/bt_service_node.hpp
@@ -69,9 +69,8 @@ class BtServiceNode : public BT::ActionNodeBase
69
node_->get_logger(), "\"%s\" service server not available after waiting for %.2fs",
70
service_name_.c_str(), wait_for_service_timeout_.count() / 1000.0);
71
throw std::runtime_error(
72
- std::string(
73
- "Service server %s not available",
74
- service_name_.c_str()));
+ std::string("Service server ") + service_name_ +
+ std::string(" not available"));
75
}
76
77
RCLCPP_DEBUG(
0 commit comments