diff options
Diffstat (limited to 'lib/lsg_web/endpoint.ex')
-rw-r--r-- | lib/lsg_web/endpoint.ex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/lsg_web/endpoint.ex b/lib/lsg_web/endpoint.ex index 4dd8151..bfd53c8 100644 --- a/lib/lsg_web/endpoint.ex +++ b/lib/lsg_web/endpoint.ex @@ -1,4 +1,5 @@ defmodule LSGWeb.Endpoint do + use Sentry.PlugCapture use Phoenix.Endpoint, otp_app: :lsg # Serve at "/" the static files from "priv/static" directory. @@ -23,8 +24,9 @@ defmodule LSGWeb.Endpoint do plug Plug.Parsers, parsers: [:urlencoded, :multipart, :json], pass: ["*/*"], - json_decoder: Poison + json_decoder: Jason + plug Sentry.PlugContext plug Plug.MethodOverride plug Plug.Head |