From a8ee360b425e1cce48b2940668186d3dc45c6e96 Mon Sep 17 00:00:00 2001 From: Rein Appeldoorn Date: Fri, 20 Sep 2024 20:41:15 +0200 Subject: [PATCH] fix(simple-action-server): info log instead of warn on cancel (#4684) Cancelling a goal is nominal behavior and therefore it should not log warning. Signed-off-by: Rein Appeldoorn (cherry picked from commit d4c3faa23037417b5b520373a7a6fa31a0585a9b) --- 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.");