Merge branch 'master' into master

This commit is contained in:
mattias-symphony 2020-02-28 15:21:37 +01:00 committed by GitHub
commit a32ef05d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -609,9 +609,9 @@ export const monitorNetworkInterception = () => {
return;
}
if (windowHandler.isWebPageLoading
&& details.error === 'net::ERR_INTERNET_DISCONNECTED'
&& (details.error === 'net::ERR_INTERNET_DISCONNECTED'
|| details.error === 'net::ERR_NETWORK_CHANGED'
|| details.error === 'net::ERR_NAME_NOT_RESOLVED') {
|| details.error === 'net::ERR_NAME_NOT_RESOLVED')) {
logger.error(`window-utils: URL failed to load`, details);
mainWindow.webContents.send('show-banner', { show: true, bannerType: 'error', url: podUrl });