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 0ddcbed commit 3d637f9Copy full SHA for 3d637f9
temporalio/client.py
@@ -6033,7 +6033,7 @@ def on_start(
6033
input._on_start(start_response)
6034
seen_start = True
6035
6036
- err: BaseException
+ err: Optional[BaseException] = None
6037
6038
try:
6039
return await self._start_workflow_update_with_start(
@@ -6086,7 +6086,7 @@ def on_start(
6086
6087
raise err
6088
finally:
6089
- if not seen_start:
+ if err and not seen_start:
6090
input._on_start_error(err)
6091
6092
async def _start_workflow_update_with_start(
0 commit comments