Skip to content

Commit 2554693

Browse files
add parentheses
1 parent 5dd066c commit 2554693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ For optional settings check the [docs](https://hexdocs.pm/sentry/readme.html).
112112
| `in_app_module_whitelist` | False | `[]` | |
113113
| `report_deps` | False | True | Will attempt to load Mix dependencies at compile time to report alongside events |
114114
| `enable_source_code_context` | False | False | |
115-
| `root_source_code_path` | Required if `enable_source_code_context` is enabled | | Should generally be set to `File.cwd!`|
115+
| `root_source_code_path` | Required if `enable_source_code_context` is enabled | | Should generally be set to `File.cwd()!`|
116116
| `context_lines` | False | 3 | |
117117
| `source_code_exclude_patterns` | False | `[~r"/_build/", ~r"/deps/", ~r"/priv/"]` | |
118118
| `source_code_path_pattern` | False | `"**/*.ex"` | |
@@ -127,7 +127,7 @@ config :sentry,
127127
environment_name: :prod,
128128
included_environments: [:prod],
129129
enable_source_code_context: true,
130-
root_source_code_path: File.cwd!,
130+
root_source_code_path: File.cwd()!,
131131
tags: %{
132132
env: "production"
133133
},

0 commit comments

Comments
 (0)