We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e9cde2 commit 365bf4cCopy full SHA for 365bf4c
1 file changed
langfuse/_client/span.py
@@ -559,8 +559,7 @@ def _set_otel_span_status_if_error(
559
if level == "ERROR" and self._otel_span.is_recording():
560
try:
561
self._otel_span.set_status(
562
- status=Status(StatusCode.ERROR),
563
- description=status_message
+ Status(StatusCode.ERROR, description=status_message)
564
)
565
except Exception:
566
# Silently ignore any errors when setting OTEL status to avoid existing flow disruptions
0 commit comments