Skip to content

Commit

Permalink
Fix example configuration for Sentry.Sources (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
scudelletti authored Jul 11, 2023
1 parent 42c577b commit 46b1a18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sentry/sources.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ defmodule Sentry.Sources do
should not be stored or referenced when reporting exceptions. Defaults to
`[~r"/_build/", ~r"/deps/", ~r"/priv/"]`.
* `:source_code_path_pattern` - a glob that is expanded to select files from the
`:root_source_code_path`. Defaults to `"**/*.ex"`.
`:root_source_code_paths`. Defaults to `"**/*.ex"`.
An example configuration:
config :sentry,
dsn: "https://public:secret@app.getsentry.com/1",
enable_source_code_context: true,
root_source_code_path: [File.cwd!()],
root_source_code_paths: [File.cwd!()],
context_lines: 5
### Source code storage
Expand Down

0 comments on commit 46b1a18

Please sign in to comment.