Skip to content

Commit 1fbfc9e

Browse files
authored
Add note about client config in source map docs (#1001)
1 parent 9fec327 commit 1fbfc9e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/sourcemaps.rst

+12
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,18 @@ Troubleshooting
312312

313313
Source maps can sometimes be tricky to get going. If you're having trouble, try the following tips.
314314

315+
Verify you have specified the release in your client config
316+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
317+
318+
You must specify the active release in your Raven.js client configuration:
319+
320+
.. code-block:: javascript
321+
322+
Raven.config('your-dsn', {
323+
release: '1.2.3-beta'
324+
}).install();
325+
326+
Sentry needs this to associate ingested event data with the release and artifacts you've created via the API.
315327

316328
Verify your source maps are built correctly
317329
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)