diff --git a/app/scripts/migrations/120.2.ts b/app/scripts/migrations/120.2.ts index ed89db473e0d..52e430478952 100644 --- a/app/scripts/migrations/120.2.ts +++ b/app/scripts/migrations/120.2.ts @@ -32,10 +32,8 @@ function transformState(state: Record) { } if (!isObject(state.SelectedNetworkController)) { - global.sentry?.captureException?.( - new Error( - `state.SelectedNetworkController is type: ${typeof state.SelectedNetworkController}`, - ), + console.error( + `Unexpected state encountered during migration version ${version}: state.SelectedNetworkController is type: ${typeof state.SelectedNetworkController}`, ); state.SelectedNetworkController = { domains: {} }; } else if (hasProperty(state.SelectedNetworkController, 'perDomainNetwork')) {