From b02eff75be7c5f9f9220af318c4c7d6db44f382f Mon Sep 17 00:00:00 2001 From: Rein Appeldoorn Date: Fri, 20 Sep 2024 14:34:45 +0200 Subject: [PATCH] fix(simple-action-server): info log instead of warn on cancel Cancelling a goal is nominal behavior and therefore it should not log warning. Signed-off-by: Rein Appeldoorn --- nav2_util/include/nav2_util/simple_action_server.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav2_util/include/nav2_util/simple_action_server.hpp b/nav2_util/include/nav2_util/simple_action_server.hpp index c8b1660840f..342f930ab9f 100644 --- a/nav2_util/include/nav2_util/simple_action_server.hpp +++ b/nav2_util/include/nav2_util/simple_action_server.hpp @@ -582,7 +582,7 @@ class SimpleActionServer if (is_active(handle)) { if (handle->is_canceling()) { - warn_msg("Client requested to cancel the goal. Cancelling."); + info_msg("Client requested to cancel the goal. Cancelling."); handle->canceled(result); } else { warn_msg("Aborting handle.");