question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect source map reporting in Sentry

See original GitHub issue

We have been seeing this a bunch and yesterday was kind of the straw that broke the camel’s back for me in terms of just ignoring this. We update our source maps during our deployments by uploading them to Sentry as part of the deployment process and tag everything. We had a build go out yesterday that removed a certain library, nouislider, as we built a new React slider component so we no longer had a use for it. We replaced all instances of the slider in our code base with the new React version and then this morning we saw the following issue pop up in Sentry: https://www.dropbox.com/s/e7isp12g9xh9lpe/Screenshot 2016-08-09 09.57.10.png?dl=0

As you can see, not only is the error reporting that it came from nouislider but its reporting the method as getValuesFromString which is actually part of our time utils module. I believe the error is actually valid as I’ve seen it before in our code base but what its mapping back to is completely not as that code doesn’t even exist anymore in our codebase.

Any idea what is going on here?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
reintroducingcommented, Aug 24, 2016

OK, lol, so let me just make sure i’m getting this right:

  1. Upload app.min.js and app.min.js.map to sentry
  2. Upload app.min.js and app.min.js.map to our production server

Is that correct?

0reactions
reintroducingcommented, Aug 26, 2016

Thank you, I meant to close it yesterday but forgot, my apologies.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Source Maps for JavaScript
If you have the same (incorrect) results locally as you do via Sentry, double-check your source map generation configuration. Verify your source files...
Read more >
Configuring Sentry with JavaScript Source Maps
When an application experiences an error, it will report it to the owning team's Sentry board. Similar errors are grouped together into issues, ......
Read more >
Sentry: Integration and uploading Source maps with ...
Sentry captures data by using an SDK within your application's runtime. The following packages are used by sentry to capture errors and upload...
Read more >
Sentry source maps uploading with wrong (un-interpolated ...
I tried looking for solutions online, but most of the issues people encounter around uploading source maps involve not being able to upload...
Read more >
How to configure source map for Sentry
Hello. I'm using Sentry for error reporting for a React app. The problem with it is that I don't have an idea how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found