MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.15k stars 1.11k forks source link

[Sentry] Error: Subscription not found for event: NetworkController:stateChange #8704

Closed sentry-io[bot] closed 2 weeks ago

sentry-io[bot] commented 7 months ago

Sentry Issue: METAMASK-MOBILE-292K

Error: Subscription not found for event: NetworkController:stateChange
  at r (ses.cjs:7575:17)
  at onDisconnect (app/core/BackgroundBridge/BackgroundBridge.js:258:32)
  at killSession (app/core/WalletConnect/WalletConnect.js:363:28)
  at walletConnector.on$argument_1 (app/core/WalletConnect/WalletConnect.js:244:12)
...
(18 additional frame(s) were not displayed)

Comment: Should we remove this error if the subscription is already removed?

sentry-io[bot] commented 4 months ago

Sentry Issue: METAMASK-MOBILE-2864

sentry-io[bot] commented 4 months ago

Sentry Issue: METAMASK-MOBILE-2F6M

sentry-io[bot] commented 4 months ago

Sentry Issue: METAMASK-MOBILE-2864 node_modules/@metamask/base-controller/dist/ControllerMessenger.js in unsubscribe at line 174:28

     * @template EventType - A type union of Event type strings.
     */
    unsubscribe(eventType, handler) {
        const subscribers = __classPrivateFieldGet(this, _ControllerMessenger_events, "f").get(eventType);
        if (!subscribers || !subscribers.has(handler)) {
            throw new Error(`Subscription not found for event: ${eventType}`);
        }
        const selector = subscribers.get(handler);
        if (selector) {
            __classPrivateFieldGet(this, _ControllerMessenger_eventPayloadCache, "f").delete(handler);
        }
sentry-io[bot] commented 3 months ago

Sentry Issue: METAMASK-MOBILE-2G6K

github-actions[bot] commented 3 weeks ago

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.

github-actions[bot] commented 2 weeks ago

This issue was closed because there has been no follow activity in 7 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions.