Skip to content

Commit 872144d

Browse files
authored
fix: periodic polling sample (temporalio#183)
1 parent 971243b commit 872144d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

polling/periodic_sequence/workflows.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,5 @@ async def run(self, name: str) -> str:
3838
except ActivityError:
3939
workflow.logger.error("Activity failed, retrying in 1 seconds")
4040
await asyncio.sleep(1)
41-
workflow.continue_as_new(name)
4241

43-
raise Exception("Polling failed after all attempts")
42+
workflow.continue_as_new(name)

0 commit comments

Comments
 (0)