Skip to content

Commit 7c72ea9

Browse files
Lms24getsantry[bot]shanamatthews
authored
Add source maps wizard instructions to Getting Started pages (#7306)
Add instructions for the new source maps wizard to the "Getting Started" pages of all JS/Node frameworks that don't come with automatic source maps upload included. Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com> Co-authored-by: Shana Matthews <shana.l.matthews@gmail.com>
1 parent 2f879af commit 7c72ea9

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

src/platform-includes/getting-started-sourcemaps/javascript.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22

33
Depending on how you've set up your JavaScript project, the stack traces in your Sentry errors probably don't look like your actual code.
44

5-
To fix this, head over to our <PlatformLink to="/sourcemaps/">source maps documentation</PlatformLink> where you'll learn how to upload source maps, so you can make sense of your stack traces.
5+
To fix this, upload your source maps to Sentry. The easiest way to do this is to use the Sentry Wizard:
6+
7+
<Include name="sourcemaps-wizard-instructions.mdx" />
8+
9+
For more information on source maps or for more options to upload them, head over to our <PlatformLink to="/sourcemaps/">Source Maps</PlatformLink> documentation.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Add Readable Stack Traces to Errors
22

3-
Depending on how you've set up your JavaScript project, the stack traces in your Sentry errors probably don't look like your actual code.
3+
Depending on how you've set up your Node project, the stack traces in your Sentry errors probably don't look like your actual code.
44

5-
To fix this, head over to our <PlatformLink to="/sourcemaps/">source maps documentation</PlatformLink> where you'll learn how to upload source maps, so you can make sense of your stack traces.
5+
To fix this, upload your source maps to Sentry. The easiest way to do this is to use the Sentry Wizard:
6+
7+
<Include name="sourcemaps-wizard-instructions.mdx" />
8+
9+
For more information on source maps or for more options to upload them, head over to our <PlatformLink to="/sourcemaps/">Source Maps</PlatformLink> documentation.

src/platforms/common/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ Sentry supports multiple versions of React Router. See the <PlatformLink to="/co
3636

3737
<PlatformContent includePath="getting-started-config" />
3838

39+
<PlatformSection supported={["javascript", "node"]}>
40+
41+
<PlatformContent includePath="getting-started-sourcemaps" />
42+
43+
</PlatformSection>
44+
3945
## Verify
4046

4147
<PlatformSection notSupported={["unreal"]}>
@@ -54,10 +60,4 @@ Learn more about manually capturing an error or message in our <PlatformLink to=
5460

5561
To view and resolve the recorded error, log into [sentry.io](https://sentry.io) and open your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.
5662

57-
<PlatformSection supported={["javascript", "node"]}>
58-
59-
<PlatformContent includePath="getting-started-sourcemaps" />
60-
61-
</PlatformSection>
62-
6363
<PageGrid header="Next Steps" nextSteps />

0 commit comments

Comments
 (0)