Fix error handler which showed an error on reload, as the cancel event was triggered after the cacheInvalidated property has been set to true
Fix error handler which showed an error on reload, as the cancel event was triggered after the cacheInvalidated property has been set to true

mattermost/desktop,St-Ex/desktop,jnugh/desktop,yuya-oc/electron-mattermost,yuya-oc/electron-mattermost,yuya-oc/desktop,St-Ex/desktop,yuya-oc/desktop,jnugh/desktop,mattermost/desktop,yuya-oc/electron-mattermost,yuya-oc/desktop,St-Ex/desktop,mattermost/desktop,jnugh/desktop,mattermost/desktop,mattermost/desktop