add sentry

This commit is contained in:
Graham McIntire 2025-07-18 15:07:53 -05:00
parent 4af0f4a421
commit 18521ed0c1
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View file

@ -64,6 +64,10 @@
</script>
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
</script>
<script
src="https://js.sentry-cdn.com/be4b53768e7c243cc72fa78ee7b7ec8c.min.js"
crossorigin="anonymous"
></script>
</head>
<body class={body_class(assigns)}>
{@inner_content}

View file

@ -48,6 +48,7 @@ defmodule AprsmeWeb.Endpoint do
pass: ["*/*"],
json_decoder: Phoenix.json_library()
plug Sentry.PlugContext
plug Plug.MethodOverride
plug Plug.Head
plug Plug.Session, @session_options