Skip to content

Commit

Permalink
Improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Aug 19, 2024
1 parent 3442e94 commit 4f866db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions temporalio/worker/_workflow_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -2778,7 +2778,7 @@ def _make_unfinished_update_handler_message(
handler_executions: List[HandlerExecution],
) -> str:
message = """
TMPRL1102 Workflow finished while update handlers are still running. This may have interrupted work that the
[TMPRL1102] Workflow finished while update handlers are still running. This may have interrupted work that the
update handler was doing, and the client that sent the update will receive a 'workflow execution
already completed' RPCError instead of the update result. You can wait for all update and signal
handlers to complete by using `await workflow.wait_condition(lambda:
Expand All @@ -2797,7 +2797,7 @@ def _make_unfinished_signal_handler_message(
handler_executions: List[HandlerExecution],
) -> str:
message = """
TMPRL1102 Workflow finished while signal handlers are still running. This may have interrupted work that the
[TMPRL1102] Workflow finished while signal handlers are still running. This may have interrupted work that the
signal handler was doing. You can wait for all update and signal handlers to complete by using
`await workflow.wait_condition(lambda: workflow.all_handlers_finished())`. Alternatively, if both
you and the clients sending the signal are okay with interrupting running handlers when the workflow
Expand Down

0 comments on commit 4f866db

Please sign in to comment.