You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems it is looking for {Phoenix.Endpoint.Cowboy2Handler, :init, 2} but when my error occurs the stack trace contains {Phoenix.Endpoint.Cowboy2Handler, :init, 4} (arity 4 instead of 2).
Expected Behavior
Sentry should only log the Plug error that contains all the request meta data.
Actual Behavior
Sentry reports two errors, one with the request meta data and one without.
Steps to Reproduce
Configure both the Sentry plug and LoggerBackend and then throw an error in a controller action.
The text was updated successfully, but these errors were encountered:
Environment
Description
When adding the
Sentry.LoggerBackend
I am receiving duplicate events for request errors. Inspecting the logger backend code:sentry-elixir/lib/sentry/logger_backend.ex
Line 93 in c27a529
it seems it is looking for
{Phoenix.Endpoint.Cowboy2Handler, :init, 2}
but when my error occurs the stack trace contains{Phoenix.Endpoint.Cowboy2Handler, :init, 4}
(arity 4 instead of 2).Expected Behavior
Sentry should only log the Plug error that contains all the request meta data.
Actual Behavior
Sentry reports two errors, one with the request meta data and one without.
Steps to Reproduce
Configure both the Sentry plug and LoggerBackend and then throw an error in a controller action.
The text was updated successfully, but these errors were encountered: