We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc26fa commit 52d32cfCopy full SHA for 52d32cf
lib/sentry/config.ex
@@ -77,6 +77,17 @@ defmodule Sentry.Config do
77
get_config(:enable_source_code_context, default: false, check_dsn: false)
78
end
79
80
+ @deprecated "Use root_source_code_paths/0 instead"
81
+ def root_source_code_path do
82
+ path = get_config(:root_source_code_path)
83
+
84
+ if path do
85
+ path
86
+ else
87
+ raise ArgumentError.exception(":root_source_code_path must be configured")
88
+ end
89
90
91
# :root_source_code_path (single path) was replaced by :root_source_code_paths (list of
92
# paths).
93
#
0 commit comments