Skip to content

Commit 71862dd

Browse files
committed
actually retry
1 parent 38902d3 commit 71862dd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apps/coordinator/src/index.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,12 @@ class TaskCoordinator {
783783
delay,
784784
elapsedMs,
785785
});
786-
return await sendCompletionWithAck();
786+
787+
const success = await sendCompletionWithAck();
788+
789+
if (!success) {
790+
throw new Error("Failed to send completion with ack");
791+
}
787792
}
788793
);
789794

0 commit comments

Comments
 (0)