You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like we don't need it in new extension for now. lastError is used when extension use callback based extension API. Old extension is using checkForError only for windowType === 'dapp' which is not a case now (interaction with dapps via runtime.onMessage.addListener?)
So lastError wouldn't be set if background page crashed with Cannot read properties of undefined in normal code. And I didn't find another flag that would get set. Luckily we don't have asynchronous code in the background page that can fail, other than sagas that are handled by fatalError. And if synchronous code before wrapStore fails then popup doesn't initialize.
If background page crashes, and user opens the popup, would it just show default redux state?
The text was updated successfully, but these errors were encountered: