File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,18 @@ defmodule Sentry.Sources do
4747 [sentry_recompile: ["deps.compile sentry --force", "compile"]]
4848 end
4949
50+ This is an important to note especially when building for production. If your
51+ build or deployment system caches prior builds, it may not recompile Sentry
52+ and could cause issues with reported source code being out of date.
53+
54+ Due to Sentry reading the file system and defaulting to a recursive search
55+ of directories, it is important to check your configuration and compilation
56+ environment to avoid a folder recursion issue. Problems may be seen when
57+ deploying to the root folder, so it is best to follow the practice of
58+ compiling your application in its own folder. Modifying the
59+ `source_code_path_pattern` configuration option from its default is also
60+ an avenue to avoid compile problems.
61+
5062 """
5163 @ type file_map :: % { pos_integer ( ) => String . t ( ) }
5264 @ type source_map :: % { String . t ( ) => file_map }
You can’t perform that action at this time.
0 commit comments