Skip to content

Commit

Permalink
TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Sep 18, 2024
1 parent 92b0ac3 commit e64901c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bandit/pipeline.ex
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ defmodule Bandit.Pipeline do
end

defp handle_error(kind, reason, stacktrace, transport, span, opts) do
# TODO: Fix this telementry kind
Bandit.Telemetry.span_exception(span, :exit, reason, stacktrace)
status = reason |> Plug.Exception.status() |> Plug.Conn.Status.code()

Expand Down

0 comments on commit e64901c

Please sign in to comment.