Skip to content

Commit 3660af6

Browse files
authored
Fix copy-paste error message in OpenTelemetryPlugin (#1649)
The no-runner guard named the OpenAI plugin, a copy-paste leftover from the OpenAI-agents plugin.
1 parent cd17e57 commit 3660af6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

temporalio/contrib/opentelemetry/_plugin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def __init__(self, *, add_temporal_spans: bool = False):
3434

3535
def workflow_runner(runner: WorkflowRunner | None) -> WorkflowRunner:
3636
if not runner:
37-
raise ValueError("No WorkflowRunner provided to the OpenAI plugin.")
37+
raise ValueError(
38+
"No WorkflowRunner provided to the OpenTelemetry plugin."
39+
)
3840

3941
# If in sandbox, add additional passthrough
4042
if isinstance(runner, SandboxedWorkflowRunner):

0 commit comments

Comments
 (0)