Skip to content

Commit 3dee7a9

Browse files
committed
Do not emit a link for StartWorkflowRequest if the event reference is null
1 parent 4ef86e8 commit 3dee7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

temporalio/nexus/_operation_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ def _nexus_link_to_workflow_event(
544544
logger.warning(
545545
f"Failed to parse event reference from Nexus link URL query parameters: {link} ({err})"
546546
)
547-
event_ref = None
547+
return None
548548

549549
groups = match.groupdict()
550550
return temporalio.api.common.v1.Link.WorkflowEvent(

0 commit comments

Comments
 (0)