-
-
Couldn't load subscription status.
- Fork 1.7k
How to add Sentry to Aurelia project? #5247
-
Problem Statement
Should I use Sentry for JavaScript? I tried it as it written in this guide https://docs.sentry.io/platforms/javascript/ but it doesn`t work correctly at all.
Solution Brainstorm
No response
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 2 replies
-
Routing to @getsentry/team-web-sdk-frontend for triage. ⏲️
Beta Was this translation helpful? Give feedback.
All reactions
-
@GlebErmolinskii, as you probably know we currently don't have an official integration for Aurelia. However, I saw that there are some awesome folks in the core Aurelia team, like @Vheissu who created aurelia-sentry.
I recommend you can either use that one or investigate what they are using under the hood.
Beta Was this translation helpful? Give feedback.
All reactions
-
Ok, I`ll take a look. Thank you for your reply, Vladan!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
I tried to use the Aurelia integration and it doesn't work too. I suppose the problem is in Aurelia. Sentry doesn`t work as a singleton. 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.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1