sentry v7.2.0 Sentry.Phoenix.Endpoint

Provides basic functionality to handle errors in a Phoenix Endpoint. Errors occurring within a Phoenix request before it reaches the Router will not be captured by Sentry.Plug due to the internal functionality of Phoenix.

It is recommended to include Sentry.Phoenix.Endpoint in your Phoenix app if you would like to receive errors occurring in the previously mentioned circumstances.

For more information, see https://github.com/getsentry/sentry-elixir/issues/229 and https://github.com/phoenixframework/phoenix/issues/2791.

Usage

Add the following to your endpoint.ex, below use Phoenix.Endpoint, otp_app: :my_app

  use Sentry.Phoenix.Endpoint