diff --git a/src/platforms/elixir/index.mdx b/src/platforms/elixir/index.mdx index 87b73fdd7d7dc..5953008bb0d56 100644 --- a/src/platforms/elixir/index.mdx +++ b/src/platforms/elixir/index.mdx @@ -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" }, @@ -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).