Issue
Source Map files contain 4 keys that Sentry uses to display your unminified stack traces to you.
- - The
mappings
key tell us where the line and column numbers are. - - The
sources
key tell us the filepath. - - The
names
key tell us the name of the erroring function. - - The
sourcesContent
key contain the actual code of your app for us to display in the UI.
Applies To
- All Plans
- Self-hosted
Resolution
If you are seeing stack traces in Sentry that seem wrong to you, please first check that the map and bundle files you upload to Sentry contain all the necessary and correct information before uploading to Sentry.
Some thirdy-party tools that help verifying source maps: