add sentry
This commit is contained in:
parent
4af0f4a421
commit
18521ed0c1
2 changed files with 5 additions and 0 deletions
|
|
@ -64,6 +64,10 @@
|
||||||
</script>
|
</script>
|
||||||
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
|
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
|
||||||
</script>
|
</script>
|
||||||
|
<script
|
||||||
|
src="https://js.sentry-cdn.com/be4b53768e7c243cc72fa78ee7b7ec8c.min.js"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
></script>
|
||||||
</head>
|
</head>
|
||||||
<body class={body_class(assigns)}>
|
<body class={body_class(assigns)}>
|
||||||
{@inner_content}
|
{@inner_content}
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ defmodule AprsmeWeb.Endpoint do
|
||||||
pass: ["*/*"],
|
pass: ["*/*"],
|
||||||
json_decoder: Phoenix.json_library()
|
json_decoder: Phoenix.json_library()
|
||||||
|
|
||||||
|
plug Sentry.PlugContext
|
||||||
plug Plug.MethodOverride
|
plug Plug.MethodOverride
|
||||||
plug Plug.Head
|
plug Plug.Head
|
||||||
plug Plug.Session, @session_options
|
plug Plug.Session, @session_options
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue