Skip to content

Commit 2b5dc13

Browse files
authored
Reword some option documentation (#859)
1 parent 937d08a commit 2b5dc13

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

lib/sentry/config.ex

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -221,19 +221,6 @@ defmodule Sentry.Config do
221221
send an event due to an API failure or other reasons.
222222
"""
223223
],
224-
in_app_module_allow_list: [
225-
type: {:list, :atom},
226-
default: [],
227-
type_doc: "list of `t:module/0`",
228-
doc: """
229-
A list of modules that is used
230-
to distinguish among stacktrace frames that belong to your app and ones that are
231-
part of libraries or core Elixir. This is used to better display the significant part
232-
of stacktraces. The logic is "greedy", so if your app's root module is `MyApp` and
233-
you configure this option to `[MyApp]`, `MyApp` as well as any submodules
234-
(like `MyApp.Submodule`) would be considered part of your app. Defaults to `[]`.
235-
"""
236-
],
237224
filter: [
238225
type: :atom,
239226
type_doc: "`t:module/0`",
@@ -402,6 +389,22 @@ defmodule Sentry.Config do
402389
403390
*Available since v10.9.0*.
404391
"""
392+
],
393+
in_app_module_allow_list: [
394+
type: {:list, :atom},
395+
default: [],
396+
type_doc: "list of `t:module/0`",
397+
doc: """
398+
A list of modules that is used
399+
to distinguish among stacktrace frames that belong to your app and ones that are
400+
part of libraries or core Elixir. This is used to better display the significant part
401+
of stacktraces. The logic is "greedy", so if your app's root module is `MyApp` and
402+
you configure this option to `[MyApp]`, `MyApp` as well as any submodules
403+
(like `MyApp.Submodule`) would be considered part of your app.
404+
405+
Usually, the `:in_app_otp_apps` option should be preferred as it's
406+
simpler to work with.
407+
"""
405408
]
406409
]
407410

0 commit comments

Comments
 (0)