Hi devs.
I wanna avoid logging handled exceptions from my Vuejs app. I have read docs about filtering event and hints, but I'm not very clear about how to do that.
I'm using Vuejs NPM integration.
Hey,
Sentry.init({
beforeSend(event) {
try {
if (event.exception.values[0].mechanism.handled) return null;
} catch (o_O) {}
return event;
}
})
Hi!
In couple of days I will back with a feedback.
Thank you!
Closing this to clean up our issue tracker. @CesarGomezTissini if the solution above doesn't work for you please comment back / re-open. Cheers!
Since 4 days ago, I haven't received new handled exceptions. Thanks guys. You can safely close this thread.
Thanks for letting us know, @CesarGomezTissini!
Most helpful comment
Hey,