Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions temporalio/worker/_workflow_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1783,12 +1783,6 @@ async def _run_top_level_workflow_function(self, coro: Awaitable[None]) -> None:
)
return

# Handle continue as new
if isinstance(err, _ContinueAsNewError):
logger.debug("Workflow requested continue as new")
err._apply_command(self._add_command())
return

logger.debug(
f"Workflow raised failure with run ID {self._info.run_id}",
exc_info=True,
Expand Down