1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Dan J Miller b874a301f5
Capture exception with sentry when invariant conditions are met in migrations (#20427)
* capture exception for sentry when invariant conditions are met in migration 82

* Code cleanup

* Capture exceptions in invariant conditions for migrations 83,84,85,86,89,91,93,94

* Update app/scripts/migrations/082.test.js

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Code cleanup

* Fix SentryObject type declaration

* Stop throwing error if preferences controller is undefined

* Refactor 084 and 086 to remove double negative

* Capture exceptions for invariant states in in migrations 87,88,90 and 92

* lint fix

* log warning in migration 82 when preferences controller is undefined

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-08-16 16:56:20 -02:30
..
account-import-strategies
constants
controllers Capture app and migration version (#20458) 2023-08-16 12:22:38 -02:30
lib Use unflattened state for Sentry (#20428) 2023-08-16 15:21:18 -02:30
migrations Capture exception with sentry when invariant conditions are met in migrations (#20427) 2023-08-16 16:56:20 -02:30
platforms
app-init.js
background.js Use unflattened state for Sentry (#20428) 2023-08-16 15:21:18 -02:30
contentscript.js solves 1114 (#20307) 2023-08-01 07:04:23 +01:00
detect-multiple-instances.js
detect-multiple-instances.test.js
disable-console.js
first-time-state.js
init-globals.js
inpage.js
lockdown-more.js Bump SES to fix audit failure (#20434) 2023-08-14 16:30:34 -02:30
lockdown-run.js
metamask-controller.actions.test.js Use addNewAccount from core KeyringController (#19814) 2023-08-16 11:19:41 +02:00
metamask-controller.js Capture app and migration version (#20458) 2023-08-16 12:22:38 -02:30
metamask-controller.test.js Use addNewAccount from core KeyringController (#19814) 2023-08-16 11:19:41 +02:00
mmi-keyring-builder-factory.js
sentry-install.js Capture Sentry errors prior to initialization (#20265) 2023-07-31 18:49:32 -02:30
translate.test.ts
translate.ts
ui.js Capture Sentry errors prior to initialization (#20265) 2023-07-31 18:49:32 -02:30
use-snow.js