Skip to content

Commit 3799b0e

Browse files
committed
Don't fail the whole action if backup fails
1 parent c2ecab5 commit 3799b0e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/rovr_control/rovr_control/auto_dig_nav_offload_server.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ async def execute_callback(self, goal_handle: ServerGoalHandle):
5050

5151
# 2. Back up
5252
if not goal_handle.is_cancel_requested:
53-
if not await self._do_backup(goal_handle):
54-
goal_handle.abort()
55-
return result
53+
# Don't fail the whole action if backup fails
54+
await self._do_backup(goal_handle)
5655

5756
# 3. Offload
5857
if not goal_handle.is_cancel_requested:

0 commit comments

Comments
 (0)