MetaMask / MetaMask/metamask-extension
[Sentry] Error: No metadata found for 'previousUserTraits'
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Sentry Issue: [METAMASK-XEZW](https://metamask.sentry.io/issues/6228127904/?referrer=github_integration)
```
Error: No metadata found for 'previousUserTraits'
at Array.reduce ()
at handler (app/scripts/lib/ComposableObservableStore.js:70:30)
at fn (app/scripts/controllers/metametrics-controller.ts:1504:12)
at forEach (app/scripts/lib/segment/analytics.js:187:35)
at Array.forEach ()
...
(13 additional frame(s) were not displayed)
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at app/scripts/lib/ComposableObservableStore.js:70 and trace the call from app/scripts/controllers/metametrics-controller.ts:1504 through app/scripts/lib/segment/analytics.js:187. Investigate why metadata for 'previousUserTraits' is missing and confirm that the reported Sentry error no longer occurs after the issue is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100