Skip to content

Commit cc0082c

Browse files
committed
Add information around source code configuration and compilation
1 parent 89a996b commit cc0082c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/sentry/sources.ex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ defmodule Sentry.Sources do
4747
[sentry_recompile: ["deps.compile sentry --force", "compile"]]
4848
end
4949
50+
Due to Sentry reading the file system and defaulting to a recursive search
51+
of directories, it is important to check your configuration and compilation
52+
environment to avoid a folder recursion issue. Problems may be seen when
53+
deploying to the root folder, so it is best to follow the practice of
54+
compiling your application in its own folder. Modifying the
55+
`source_code_path_pattern` configuration option from its default is also
56+
an avenue to avoid compile problems.
57+
5058
"""
5159
@type file_map :: %{pos_integer() => String.t()}
5260
@type source_map :: %{String.t() => file_map}

0 commit comments

Comments
 (0)