Closed vernak2539 closed 1 month ago
Hi, you should be calling scope.captureException()
like explained here: https://docs.sentry.io/platforms/javascript/best-practices/shared-environments/, instead of calling client.captureException()
.
Hi, you should be calling
scope.captureException()
like explained here: https://docs.sentry.io/platforms/javascript/best-practices/shared-environments/, instead of callingclient.captureException()
.
Ohhh my, how did I miss that š¤¦ . Thanks! I'll give that a try and close for now.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.32.0
Framework Version
No response
Link to Sentry event
https://vernacchia.sentry.io/issues/5939643523/?environment=production&project=4504945222483968&query=release:0.10.1
Reproduction Example/SDK Setup
Steps to Reproduce
Expected Result
I would expect the tags and context set on the sentry scope to be recorded in sentry on issues.
Actual Result
The tags and context are not set on the sentry issue when an error does occur (the error is captured)