File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,27 @@ automatically uploaded to the release `2da95dfb052f477380608d59d32b4ab9`
176176in this case. If you want to use other extensions you can provide it with
177177the ``--ext `` parameter.
178178
179+ .. admonition :: Validating Sourcemaps
180+
181+ Unfortunately it can be quite challenging to ensure that sourcemaps
182+ are actually valid themselves and uploaded correctly. To ensure
183+ that everything is working as intended you can use the `--validate `
184+ flag when uploading sourcemaps which will attempt to locally parse the
185+ sourcemap and look up the references. Note that there are known cases
186+ where the validate flag will indicate failures when the setup is
187+ correct (if you have references to external sourcemaps then the
188+ validation tool will indicate a failure).
189+
190+ Here are some things you can check in addition to the validation step:
191+
192+ * Make sure that the URL prefix is correct for your files. This is
193+ easy to get wrong.
194+ * Make sure you upload the matching sourcemaps for your minimized
195+ files.
196+ * Make sure that your minified files you have on your servers
197+ actually have references to your files.
198+
199+
179200.. sentry :edition :: hosted
180201
181202 Working Behind a Firewall
You can’t perform that action at this time.
0 commit comments