Skip to content

Commit

Permalink
Fix a deprecated function in Elixir docs (#9997)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide authored May 28, 2024
1 parent 275fc8c commit 156cc51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ defmodule MyAppWeb.ErrorView do
~E"""
<script src="https://browser.sentry-cdn.com/5.9.1/bundle.min.js" integrity="sha384-/x1aHz0nKRd6zVUazsV6CbQvjJvr6zQL2CHbQZf3yoLkezyEtZUpqUNnOLW9Nt3v" crossorigin="anonymous"></script>
<script>
Sentry.init({ dsn: '<%= Sentry.Config.dsn() %>' });
Sentry.init({ dsn: '<%= Sentry.get_dsn() %>' });
Sentry.showReportDialog(<%= raw opts %>)
</script>
"""
Expand Down

0 comments on commit 156cc51

Please sign in to comment.