Skip to content

Commit

Permalink
elixir: 9.0.0 broke a public API for configuration that was "soft dep…
Browse files Browse the repository at this point in the history
…recated" (#7930)

The documentation was never updated with the new configuration property and also I don't know if it was ever truly soft deprecated in the code. Easy to miss and I'm glad it's finally been hard deprecated.
  • Loading branch information
krainboltgreene authored Sep 26, 2023
1 parent b70a120 commit 69b474c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platforms/elixir/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ config :sentry,
dsn: "___PUBLIC_DSN___",
environment_name: :prod,
enable_source_code_context: true,
root_source_code_path: File.cwd!(),
root_source_code_paths: [File.cwd!()],
tags: %{
env: "production"
},
Expand Down Expand Up @@ -197,12 +197,12 @@ defp aliases do
end
```

To enable, set `:enable_source_code_context` and `root_source_code_path`:
To enable, set `:enable_source_code_context` and `root_source_code_paths`:

```elixir
config :sentry,
enable_source_code_context: true,
root_source_code_path: File.cwd!()
root_source_code_paths: [File.cwd!()]
```

For more documentation, see [Sentry.Sources](https://hexdocs.pm/sentry/Sentry.Sources.html).
Expand Down

1 comment on commit 69b474c

@vercel
Copy link

@vercel vercel bot commented on 69b474c Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
docs.sentry.io
sentry-docs-git-master.sentry.dev

Please sign in to comment.