Skip to content

Commit 41df579

Browse files
reinzorstevedanomodolor
authored andcommitted
fix(simple-action-server): info log instead of warn on cancel (ros-navigation#4684)
Cancelling a goal is nominal behavior and therefore it should not log warning. Signed-off-by: Rein Appeldoorn <[email protected]> Signed-off-by: stevedanomodolor <[email protected]>
1 parent 28baa7b commit 41df579

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)