You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/sentry/config.ex
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
defmoduleSentry.Configdo
2
2
@moduledoc"""
3
3
This module provides the functionality for fetching configuration settings and their defaults.
4
+
5
+
Sentry supports loading config at runtime, via `{:system, SYSTEM_ENV_KEY}` tuples, where Sentry will read `SYSTEM_ENV_KEY` to get the config value from the system environment at runtime.
4
6
"""
5
7
6
8
@default_included_environments[:dev,:test,:prod]
@@ -19,8 +21,11 @@ defmodule Sentry.Config do
19
21
get_config(:dsn,check_dsn: false)
20
22
end
21
23
24
+
@doc"""
25
+
The `:included_environments` config key expects a list, but if given a string, it will split the string on commas to create a list.
0 commit comments