Skip to content

Commit

Permalink
more clear binding name
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Feb 19, 2025
1 parent aae8e69 commit d1728de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ defmodule OpentelemetryBandit do
OpenTelemetry.Ctx.clear()
end

defp error_type(%struct{} = reason) when is_exception(reason) do
struct
defp error_type(%struct_name{} = reason) when is_exception(reason) do
struct_name
end

defp error_type(reason) do
Expand Down

0 comments on commit d1728de

Please sign in to comment.