Capturing errors to Sentry in Customer account extensions

So there’s a guide to set up Sentry in checkout-ui extensions

And I’m trying to follow it to set up in my Customer account extension (React, typescript). I have a button It is not captured in Sentry. Does anyone have experience?

Also 1. Not that important, but the error in the sample code self.addEventListener('error', (error) => ..., the error is type ErrorEvent, it doesnt have error.reason.stack.