`checkIsPasswordOutdated()` masks original errors in seedless controllers.
Open
- Dominant language
- TypeScript
- Stars
- 413
- Forks
- 308
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 253
Description
There's an issue in `checkIsPasswordOutdated()` method.
We will never be able to catch the `TokenExpired` from `checkIsPasswordOutdated()` method coz we masked the original error and [throw a different error.](https://github.com/MetaMask/core/blob/main/packages/seedless-onboarding-controller/src/SeedlessOnboardingController.ts#L873)
Not related to this PR, we can address this in another one.
_Originally posted by @lwin-kyaw in https://github.com/MetaMask/core/pull/6275#discussion_r2310091939_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.