Skip to content

Commit 6ab9c19

Browse files
committed
move header fan out outside of try block
1 parent 5486f46 commit 6ab9c19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

temporalio/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6363,11 +6363,11 @@ def on_start(
63636363

63646364
err: Optional[BaseException] = None
63656365

6366-
try:
6367-
# fan headers out to both operations
6368-
input.start_workflow_input.headers = input.headers
6369-
input.update_workflow_input.headers = input.headers
6366+
# fan headers out to both operations
6367+
input.start_workflow_input.headers = input.headers
6368+
input.update_workflow_input.headers = input.headers
63706369

6370+
try:
63716371
return await self._start_workflow_update_with_start(
63726372
input.start_workflow_input, input.update_workflow_input, on_start
63736373
)

0 commit comments

Comments
 (0)