Skip to content

docs: Add note regarding source-map-support package. #1509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/collections/_documentation/platforms/node/sourcemaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ module.exports = {
};
```

{% capture __alert_content -%}
If you want to rely on Sentry's source map resolution, make sure that your code is not using the [source-map-support](https://www.npmjs.com/package/source-map-support) package, as it overwrites the captured stack trace in a way that makes it impossible for our processors to correctly parse it.
{%- endcapture -%}
{%- include components/alert.html
title="source-map-support"
content=__alert_content
level="warning"
%}

## Making Source Maps Available to Sentry

Source maps for Node.js projects should be **uploaded directly** to Sentry.
Expand Down