james
james copied to clipboard
Show proper source in Sentry stack trace
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:
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.

Wow, if it wasn't for the awesome breadcrumbs, this exception would've been pretty useless.
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.