Skip to content

Commit 46b1a18

Browse files
authored
Fix example configuration for Sentry.Sources (#543)
1 parent 42c577b commit 46b1a18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sentry/sources.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ defmodule Sentry.Sources do
2323
should not be stored or referenced when reporting exceptions. Defaults to
2424
`[~r"/_build/", ~r"/deps/", ~r"/priv/"]`.
2525
* `:source_code_path_pattern` - a glob that is expanded to select files from the
26-
`:root_source_code_path`. Defaults to `"**/*.ex"`.
26+
`:root_source_code_paths`. Defaults to `"**/*.ex"`.
2727
2828
An example configuration:
2929
3030
config :sentry,
3131
dsn: "https://public:[email protected]/1",
3232
enable_source_code_context: true,
33-
root_source_code_path: [File.cwd!()],
33+
root_source_code_paths: [File.cwd!()],
3434
context_lines: 5
3535
3636
### Source code storage

0 commit comments

Comments
 (0)