You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although it's not strictly because of code in stackdriver-errors-js, I figured this is a good place to start to get an understanding of what really is required to report errors to stackdriver.
In particular I'd love to find out how important stacktrace-js is to this libraries functionality and whether there are opportunities to cut it or use an alternative dependency -- I wonder if it's supporting very old browsers / edge cases which are no longer relevant to everybody 🤔
I'm tempted to just try to write a simple stackdriver API wrapper without stacktrace-js but of course there's every chance I'll end up going through the exact same process this library went through and realise it's not possible without those large dependencies so any advice is welcome!
stacktrace-js is needed for this library as it helps normalize the stacktraces before sending them to the server (stacktraces differ between browsers, e.g. Firefox / Chrome)
if you try to cut it, make sure to test with multiple browsers. We could make it optional (and provide two builds of the library).
Activity
steren commentedon Mar 1, 2021
stacktrace-jsis needed for this library as it helps normalize the stacktraces before sending them to the server (stacktraces differ between browsers, e.g. Firefox / Chrome)if you try to cut it, make sure to test with multiple browsers. We could make it optional (and provide two builds of the library).
steren commentedon Mar 29, 2021
I'm definitely supportive of dropping support for old browsers.
bjon commentedon Oct 14, 2021
@steren Added a PR for this #106