Skip to content

Commit 1b57690

Browse files
whatyouhidea-hariti
authored andcommitted
Fix a deprecated function in Elixir docs (#9997)
See getsentry/sentry-elixir#730.
1 parent e9e3814 commit 1b57690

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/elixir/integrations/plug_and_phoenix

1 file changed

+1
-1
lines changed

docs/platforms/elixir/integrations/plug_and_phoenix/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ defmodule MyAppWeb.ErrorView do
6262
~E"""
6363
<script src="https://browser.sentry-cdn.com/5.9.1/bundle.min.js" integrity="sha384-/x1aHz0nKRd6zVUazsV6CbQvjJvr6zQL2CHbQZf3yoLkezyEtZUpqUNnOLW9Nt3v" crossorigin="anonymous"></script>
6464
<script>
65-
Sentry.init({ dsn: '<%= Sentry.Config.dsn() %>' });
65+
Sentry.init({ dsn: '<%= Sentry.get_dsn() %>' });
6666
Sentry.showReportDialog(<%= raw opts %>)
6767
</script>
6868
"""

0 commit comments

Comments
 (0)