Skip to content

Commit

Permalink
fix(simple-action-server): info log instead of warn on cancel (#4684)
Browse files Browse the repository at this point in the history
Cancelling a goal is nominal behavior and therefore it should not log
warning.

Signed-off-by: Rein Appeldoorn <[email protected]>
  • Loading branch information
reinzor committed Sep 20, 2024
1 parent 771eca4 commit d4c3faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_util/include/nav2_util/simple_action_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit d4c3faa

Please sign in to comment.