How to add Sentry to Aurelia project?

I tried it as it written in this guide but it doesn’t work correctly at all. I also tried this with the same effect. Sentry doesn`t work as a singleton I think. It captures errors only in the file I use Sentry.init(). And when I try to capture errors in another component it gets either 403 or 413 errors. Like it wasn’t inited. I tried the version for Angular and everything worked fine.
Does anyone know how to fix it?

Khmm… looks like it does not care…
did you try to init it before configure function in main?
pseudo code:


  export function configure(aurelia) {
    aurelia.start().then(() => aurelia.setRoot());

Yes. I do it like just like this. I also tried to install Sentry either through NPM or CDN.