Skip to content

Commit

Permalink
Exception should be atom
Browse files Browse the repository at this point in the history
  • Loading branch information
bryannaegele authored Sep 6, 2024
1 parent 18f0d7f commit 853696a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/opentelemetry_api/lib/open_telemetry/span.ex
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ defmodule OpenTelemetry.Span do
Exception.format_stacktrace(trace)}
]

add_event(span_ctx, "exception", exception_attributes ++ attributes)
add_event(span_ctx, :exception, exception_attributes ++ attributes)
end

def record_exception(_, _, _, _), do: false
Expand Down

0 comments on commit 853696a

Please sign in to comment.