-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: reactIssues related to the Sentry React SDKIssues related to the Sentry React SDK
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/react
SDK Version
7.51.2
Framework Version
React 16.14.0
Link to Sentry event
SDK Setup
Sentry.init({
dsn: process.env.REACT_APP_SENTRY_DSN,
integrations: [new BrowserTracing()],
release: `allfactors-${generatedGitInfo.gitBranch}@${generatedGitInfo.gitCommitHash}`,
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 1.0,
});Steps to Reproduce
- Login to app
- White screen of death
- Refresh page and everything works
Expected Result
- Login to app
- Page renders normally
Actual Result
{
arguments: [
{
message: Cannot read properties of undefined (reading '0'),
name: TypeError,
stack:
TypeError: Cannot read properties of undefined (reading '0')
at n.external (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1482278)
at n.value (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1445772)
at n.value (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1451866)
at Object.afterEvent (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1452769)
at jP (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1270302)
at e.value (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1391848)
at e.value (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1391604)
at e.value (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1413083)
at e.value (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1413757)
at e.value (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1405098)
at https://beta.allfactors.com/static/js/main.b673dc2f.js:2:1481616
at cs (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:276272)
at Sc (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:295161)
at t.unstable_runWithPriority (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:417313)
at Gi (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:237927)
at kc (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:294918)
at https://beta.allfactors.com/static/js/main.b673dc2f.js:2:294829
at F (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:416251)
at _.port1.onmessage (https://beta.allfactors.com/static/js/main.b673dc2f.js:2:415007)
}
],
logger: console
}
Metadata
Metadata
Assignees
Labels
Package: reactIssues related to the Sentry React SDKIssues related to the Sentry React SDK