From d4f786c39e44efffd1e68e40852518bac93566a2 Mon Sep 17 00:00:00 2001 From: Fred Tzeng Date: Mon, 2 Mar 2026 09:41:32 -0500 Subject: [PATCH] Fix ActivityAlreadyStartedError with correct message --- temporalio/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/temporalio/exceptions.py b/temporalio/exceptions.py index 8f0423153..c8d0aa7fd 100644 --- a/temporalio/exceptions.py +++ b/temporalio/exceptions.py @@ -83,8 +83,8 @@ class ActivityAlreadyStartedError(FailureError): def __init__( self, activity_id: str, activity_type: str, *, run_id: str | None = None ) -> None: - """Initialize a workflow already started error.""" - super().__init__("Workflow execution already started") + """Initialize a activity already started error.""" + super().__init__("Activity execution already started") self.activity_id = activity_id self.activity_type = activity_type self.run_id = run_id