-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.31.0
Framework Version
No response
Link to Sentry event
Reproduction Example/SDK Setup
Sentry init code:
Sentry.init({
dsn: ...,
environment: ...,
});
Steps to Reproduce
We're setting some custom context before capturing an exception:
Sentry.withScope((scope: Sentry.Scope) => {
scope.setContext("Error Context", { a: "123", b: 2 });
scope.setContext("Error Contekt", { a: "123", b: 2 });
Sentry.captureException(error);
});
Expected Result
We expect both contexts to appear in the Sentry user interface.
Actual Result
The context containing the string "context" does not appear in the UI, the other one with an intentional typo does appear.
Lms24
Metadata
Metadata
Assignees
Labels
Projects
Status
Waiting for: Product Owner