Should be easy and straightforward, yet I had to find a (not so elegant) workaround. Sentry.init({ ... beforeSend: function(event, hint) { ... ...
I mean, I couldn't resist. It's too classic, I couldn't start any other way. console.log('Hello world!') > Hello world!