diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp index 35872ea4f4a..5f37d794628 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp @@ -379,7 +379,7 @@ void BtActionServer::cleanErrorCodes() name = error_code_name_prefix + "_error_code"; blackboard_->set(name, 0); //NOLINT name = error_code_name_prefix + "_error_msg"; - blackboard_->set(name, 0); //NOLINT + blackboard_->set(name, ""); } }