Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:[email protected]/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