Skip to content

Commit 9f64098

Browse files
fix(simple-action-server): info log instead of warn on cancel (#4684) (#4686)
Cancelling a goal is nominal behavior and therefore it should not log warning. Signed-off-by: Rein Appeldoorn <rein.appeldoorn@nobleo.nl> (cherry picked from commit d4c3faa) Co-authored-by: Rein Appeldoorn <rein.appeldoorn@nobleo.nl>
1 parent 6b43a79 commit 9f64098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nav2_util/include/nav2_util/simple_action_server.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ class SimpleActionServer
582582

583583
if (is_active(handle)) {
584584
if (handle->is_canceling()) {
585-
warn_msg("Client requested to cancel the goal. Cancelling.");
585+
info_msg("Client requested to cancel the goal. Cancelling.");
586586
handle->canceled(result);
587587
} else {
588588
warn_msg("Aborting handle.");

0 commit comments

Comments
 (0)