Add Sentry

We use Sentry 7.x for now because Sentry 8.0 requires Elixir 1.10

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-01-27 16:31:46 +01:00
parent 773ae75373
commit 88707ff729
6 changed files with 7 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ defmodule Mobilizon.Web.Endpoint do
"""
use Phoenix.Endpoint, otp_app: :mobilizon
use Absinthe.Phoenix.Endpoint
use Sentry.Phoenix.Endpoint
plug(Mobilizon.Web.Plugs.SetLocalePlug)
plug(Mobilizon.Web.Plugs.HTTPSecurityPlug)