mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-01 21:19:12 -06:00
SDA-1792 - Fix conditional issue (#879)
This commit is contained in:
parent
7af64fa0e0
commit
c6d1f8a4a7
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user