News for hackers. Stuff that matters.
Re:Building Sentry, a service to process native crash report... by the_mitsuhiko on Friday June 14, 2019 @06:03AM (#20181749)
> * Obese JavaScript code. We had to write our own custom code to log events.

For what it's worth we spent a lot of time to reduce bundle sizes recently. It's ultimately a tradeoff between how rich and complete the data is one wants to capture (and from how many browsers) and how big one wants to have the bundle :(

Re:Building Sentry, a service to process native crash report... by StavrosK on Friday June 14, 2019 @06:22AM (#20181823)
Can you make a "lite" module for people who want basic exception handling, perhaps?
Re:Building Sentry, a service to process native crash report... by the_mitsuhiko on Friday June 14, 2019 @06:24AM (#20181833)
In theory it should treeshake down quite well if you use esm modules. Depends obviously on quite a few factors.

Additionally there is another version of the JS SKD dubbed "loader" which lazy loads the real SDK on first use: https://docs.sentry.io/platforms/javascript/#lazy-loading-se...

Re:Building Sentry, a service to process native crash report... by mikedh on Friday June 14, 2019 @11:47AM (#20183918)
They have @sentry/minimal as one of the 9 Javascript options : https://github.com/getsentry/sentry-javascript