Skip to content

Commit 89a996b

Browse files
Merge pull request #285 from getsentry/parallel-compiler-bug
avoid default reporting of dependencies
2 parents a7ce678 + 1ee0368 commit 89a996b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ end
101101
| `after_send_event` | False | | |
102102
| `sample_rate` | False | 1.0 | |
103103
| `in_app_module_whitelist` | False | `[]` | |
104-
| `report_deps` | False | True | Will attempt to load Mix dependencies at compile time to report alongside events |
104+
| `report_deps` | False | False | Will attempt to load Mix dependencies at compile time to report alongside events. This was switched to default to false following a bug in the parallel compiler ([#232](https://github.com/getsentry/sentry-elixir/issues/232) / [elixir-lang/elixir#7699](https://github.com/elixir-lang/elixir/issues/7699)) |
105105
| `enable_source_code_context` | False | False | |
106106
| `root_source_code_path` | Required if `enable_source_code_context` is enabled | | Should generally be set to `File.cwd!`|
107107
| `context_lines` | False | 3 | |

config/test.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ config :sentry,
44
environment_name: :test,
55
included_environments: [:test],
66
client: Sentry.TestClient,
7-
hackney_opts: [recv_timeout: 50]
7+
hackney_opts: [recv_timeout: 50],
8+
report_deps: true

lib/sentry/config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ defmodule Sentry.Config do
120120
end
121121

122122
def report_deps do
123-
get_config(:report_deps, default: true, check_dsn: false)
123+
get_config(:report_deps, default: false, check_dsn: false)
124124
end
125125

126126
defp get_config(key, opts \\ []) when is_atom(key) do

0 commit comments

Comments
 (0)