diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-02-08 12:21:31 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-02-08 12:21:31 +0100 |
commit | cff00d15c4a45351befa21212a728012dc04d57a (patch) | |
tree | 43209a94f0faedebe96e7106d5421fbdbf1faaf0 | |
parent | feat(Security): Update electron to 4.0.4 (diff) | |
download | ferdium-app-cff00d15c4a45351befa21212a728012dc04d57a.tar.gz ferdium-app-cff00d15c4a45351befa21212a728012dc04d57a.tar.zst ferdium-app-cff00d15c4a45351befa21212a728012dc04d57a.zip |
fix(App): Ignore network changed error
-rw-r--r-- | src/models/Service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/Service.js b/src/models/Service.js index 3b8bebdef..936f3a53f 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -202,7 +202,7 @@ export default class Service { | |||
202 | 202 | ||
203 | this.webview.addEventListener('did-fail-load', (event) => { | 203 | this.webview.addEventListener('did-fail-load', (event) => { |
204 | debug('Service failed to load', this.name, event); | 204 | debug('Service failed to load', this.name, event); |
205 | if (event.isMainFrame && event.errorCode !== -27 && event.errorCode !== -3) { | 205 | if (event.isMainFrame && event.errorCode !== -21 && event.errorCode !== -3) { |
206 | this.isError = true; | 206 | this.isError = true; |
207 | this.errorMessage = event.errorDescription; | 207 | this.errorMessage = event.errorDescription; |
208 | this.isLoading = false; | 208 | this.isLoading = false; |