We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9e3814 commit 1b57690Copy full SHA for 1b57690
docs/platforms/elixir/integrations/plug_and_phoenix/index.mdx
@@ -62,7 +62,7 @@ defmodule MyAppWeb.ErrorView do
62
~E"""
63
<script src="https://browser.sentry-cdn.com/5.9.1/bundle.min.js" integrity="sha384-/x1aHz0nKRd6zVUazsV6CbQvjJvr6zQL2CHbQZf3yoLkezyEtZUpqUNnOLW9Nt3v" crossorigin="anonymous"></script>
64
<script>
65
- Sentry.init({ dsn: '<%= Sentry.Config.dsn() %>' });
+ Sentry.init({ dsn: '<%= Sentry.get_dsn() %>' });
66
Sentry.showReportDialog(<%= raw opts %>)
67
</script>
68
"""
0 commit comments