diff --git a/temporalio/contrib/opentelemetry/_plugin.py b/temporalio/contrib/opentelemetry/_plugin.py index 80a17de52..2a0e1e06c 100644 --- a/temporalio/contrib/opentelemetry/_plugin.py +++ b/temporalio/contrib/opentelemetry/_plugin.py @@ -34,7 +34,9 @@ def __init__(self, *, add_temporal_spans: bool = False): def workflow_runner(runner: WorkflowRunner | None) -> WorkflowRunner: if not runner: - raise ValueError("No WorkflowRunner provided to the OpenAI plugin.") + raise ValueError( + "No WorkflowRunner provided to the OpenTelemetry plugin." + ) # If in sandbox, add additional passthrough if isinstance(runner, SandboxedWorkflowRunner):