diff --git a/app/scripts/renderer/main.js b/app/scripts/renderer/main.js index d003a258..3f4276b1 100644 --- a/app/scripts/renderer/main.js +++ b/app/scripts/renderer/main.js @@ -196,7 +196,11 @@ ipcRenderer.on('tray-close', () => { /** * @listens webviewViewElement#Event:did-fail-load */ -webviewViewElement.addEventListener('did-fail-load', () => { +webviewViewElement.addEventListener('did-fail-load', (e) => { + if (e.errorCode === -3) { + return + } + logger.debug('webviewViewElement#did-fail-load') onOffline()