MetaMask / MetaMask/metamask-extension

[Sentry] Error: No metadata found for 'previousUserTraits'

Open
#32,926 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-sentry regression-prod-12.16.1 regression-prod-12.17.3 regression-prod-12.18.0 regression-prod-12.18.3 regression-prod-12.22.3 Sev2-normal team-extension-platform type-bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.