Skip to content
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

Show proper source in Sentry stack trace #226

Open
mitchhentges opened this issue Jun 8, 2016 · 3 comments
Open

Show proper source in Sentry stack trace #226

mitchhentges opened this issue Jun 8, 2016 · 3 comments
Milestone

Comments

@mitchhentges
Copy link
Member

According to Sentry, it's possible to have stack traces properly show original source code/line numbers.

It would be much better than what we have right now, which just looks at the browserified bundle:

@tomitm
Copy link
Contributor

tomitm commented Jun 9, 2016

Yeah, you basically need to create a release and upload the source maps through the API.

gulp-sentry-release looks like something we can drop into our gulp tasks.

@tomitm
Copy link
Contributor

tomitm commented Jun 9, 2016

image

Wow, if it wasn't for the awesome breadcrumbs, this exception would've been pretty useless.

@tomitm
Copy link
Contributor

tomitm commented Aug 25, 2016

So, I did a little bit of preliminary digging on this.

  • We're not actually generating JS sourcemaps right now - surprise! 🎊
  • My attempts to generate sourcemaps haven't been working well, possibly because we depend on electron/node's require loading at the moment. Might be related to why Chrome is showing files under (no domain)

Our build might need some work... maybe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants