Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to add Sentry to Aurelia project? #5247

GlebErmolinskii started this conversation in General
Discussion options

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

You must be logged in to vote

Replies: 2 comments 2 replies

Comment options

Routing to @getsentry/team-web-sdk-frontend for triage. ⏲️

You must be logged in to vote
0 replies
Comment options

@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.

You must be logged in to vote
2 replies
Comment options

Ok, I`ll take a look. Thank you for your reply, Vladan!

Comment options

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #5246 on June 10, 2022 07:03.

AltStyle によって変換されたページ (->オリジナル) /