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 f2eb1b6 commit 4d991c6Copy full SHA for 4d991c6
nav2_behavior_tree/include/nav2_behavior_tree/bt_service_node.hpp
@@ -85,9 +85,8 @@ class BtServiceNode : public BT::ActionNodeBase
85
node_->get_logger(), "\"%s\" service server not available after waiting for %.2fs",
86
service_name_.c_str(), wait_for_service_timeout_.count() / 1000.0);
87
throw std::runtime_error(
88
- std::string(
89
- "Service server %s not available",
90
- service_name_.c_str()));
+ std::string("Service server ") + service_name_ +
+ std::string(" not available"));
91
}
92
93
RCLCPP_DEBUG(
0 commit comments