From c6d1f8a4a77709320ef8f147c9a27a37a2e375e6 Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Fri, 28 Feb 2020 10:11:49 +0530 Subject: [PATCH] SDA-1792 - Fix conditional issue (#879) --- src/app/window-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/window-utils.ts b/src/app/window-utils.ts index b5e54083..112bf167 100644 --- a/src/app/window-utils.ts +++ b/src/app/window-utils.ts @@ -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 });