Skip to content

Commit 1c18014

Browse files
committed
style fix
1 parent e82b88f commit 1c18014

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • util/opentelemetry-util-genai/src/opentelemetry/util/genai

util/opentelemetry-util-genai/src/opentelemetry/util/genai/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def _fail(self, invocation: _T, error: Error) -> _T:
261261
elif isinstance(invocation, ToolCall):
262262
invocation.error_type = error_type
263263
_finish_tool_call_span(span, invocation, capture_content=True)
264-
self._record_metrics(invocation, span, error_type=error_type)
264+
self._record_metrics(invocation, span, error_type)
265265
_apply_error_attributes(span, error, error_type)
266266
elif isinstance(invocation, WorkflowInvocation):
267267
_apply_workflow_finish_attributes(span, invocation)

0 commit comments

Comments
 (0)