import * as Sentry from '@sentry/react';
Sentry.init({
dsn: '_____________________________',
environment: process.env.NODE_ENV,
integrations: [Sentry.replayIntegration()],
replaysSessionSampleRate: process.env.NODE_ENV === 'production' ? 0.1 : 1,
replaysOnErrorSampleRate: 1.0,
ignoreErrors: ['Non-Error promise rejection captured'],
release: `${process.env.HEROKU_APP_NAME}-${process.env.HEROKU_RELEASE_VERSION}`,
autoSessionTracking: true
});
Issue was not created. Sometimes it happens, perhaps it's related that I can see Cannot read properties of undefined (reading 'value') error inside Sentry library
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
7.111.0
Framework Version
React 18.2.0
Link to Sentry event
https://tradespace-io.sentry.io/issues/4992144873/?alert_rule_id=4376506&alert_type=issue¬ification_uuid=4bafaf33-aa07-425a-a7ef-d0e79f61b9dd&project=5528704&referrer=slack
SDK Setup
Steps to Reproduce
TypeError null is not an object (evaluating 'M.createdByUser.fullName')Expected Result
I want to see the issue on Sentry, but it wasn't tracked
Actual Result
Issue was not created. Sometimes it happens, perhaps it's related that I can see
Cannot read properties of undefined (reading 'value')error inside Sentry library