Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete redundant code #598

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Loading