Skip to content

Commit

Permalink
Adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lowellausen authored and Leonardo Oliveira Wellausen committed Jun 26, 2024
1 parent d92d7e3 commit 00e4d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task_manager/task_manager/tasks/mission.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def execute_cb(self, goal_handle: ServerGoalHandle) -> MissionAction.Result:

if goal_handle.is_cancel_requested:
goal_handle.canceled()
else:
else: # If mission is not cancelled but a subtask fail, we abort the mission
goal_handle.abort()
return result

Expand Down

0 comments on commit 00e4d8e

Please sign in to comment.