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 authored and SteveMacenski committed Nov 8, 2024
1 parent d4642b1 commit 3b8846b
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 @@ -557,7 +557,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 3b8846b

Please sign in to comment.