Skip to content

Unique Identifier with classes #7290

Closed Answered by lforst
jackmerrill asked this question in Q&A
Discussion options

You must be logged in to vote

Usually you would want to use Sentry.withScope() to isolate the scope and then use Sentry.setTag() to pass the id to the event.

If your code is asynchronous you probably also want to wrap it into a domain in order to avoid scope bleeding.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AbhiPrasad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants