Skip to content

Commit fdcc56e

Browse files
fix: use workflow type name in WorkflowAlreadyStartedError
1 parent f5d5298 commit fdcc56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

temporalio/lib/temporalio/internal/client/implementation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def start_update_with_start_workflow(input)
228228
if details
229229
e = Error::WorkflowAlreadyStartedError.new(
230230
workflow_id: start_options.id,
231-
workflow_type: start_req.workflow_type,
231+
workflow_type: start_req.workflow_type.name,
232232
run_id: details.run_id
233233
)
234234
end

0 commit comments

Comments
 (0)