Skip to content

Commit c949d90

Browse files
committed
Add missing param
1 parent e61bc5d commit c949d90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/error_tracker/integrations/phoenix.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ defmodule ErrorTracker.Integrations.Phoenix do
2929
def handle_event([:phoenix, :router_dispatch, :exception], _measurements, metadata, :no_config) do
3030
{reason, kind, stack} =
3131
case metadata do
32-
%{reason: %Plug.Conn.WrapperError{reason: reason, kind: kindstack: stack}} ->
33-
{reason, stack}
32+
%{reason: %Plug.Conn.WrapperError{reason: reason, kind: kind, stack: stack}} ->
33+
{reason, kind, stack}
3434

3535
%{kind: kind, reason: reason, stacktrace: stack} ->
36-
{reason, stack}
36+
{reason, kind, stack}
3737
end
3838

3939
PlugIntegration.report_error(metadata.conn, {reason, kind}, stack)

0 commit comments

Comments
 (0)