We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6149bda commit 0fd7e34Copy full SHA for 0fd7e34
temporalio/client.py
@@ -6040,7 +6040,7 @@ def on_start(
6040
input._on_start(start_response)
6041
seen_start = True
6042
6043
- err: BaseException
+ err: Optional[BaseException] = None
6044
6045
try:
6046
return await self._start_workflow_update_with_start(
@@ -6093,7 +6093,7 @@ def on_start(
6093
6094
raise err
6095
finally:
6096
- if not seen_start:
+ if err and not seen_start:
6097
input._on_start_error(err)
6098
6099
async def _start_workflow_update_with_start(
0 commit comments