Skip to content

Commit 27ab9fe

Browse files
committed
Merge pull request #485 from getsentry/more-source-map-docs
Add note about needing uploaded artifacts before errors are captured
2 parents 65b9dea + b18b7e0 commit 27ab9fe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/sourcemaps.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,10 @@ Note also that Sentry will resolve relative paths. For example, if you have the
195195
//# sourceMappingURL=app.min.js.map
196196
197197
Sentry will resolve ``sourceMappingURL`` relative to ``https://example.com/dist/js/`` (the root path from which ``app.min.js`` was served). You will again need to name your source map with the full URL: ``https://example.com/dist/js/app.min.js.map``.
198+
199+
Verify artifacts are uploaded before errors occur
200+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201+
202+
Sentry expects that source code and source maps in a given release are uploaded to Sentry **before** errors occur in that release.
203+
204+
If you upload artifacts **after** an error is captured by Sentry, Sentry will not go back and retroactively apply any source annotations to those errors. Only new errors triggered after the artifact was uploaded will be affected.

0 commit comments

Comments
 (0)