diff options
author | 2019-01-04 20:12:27 +0100 | |
---|---|---|
committer | 2019-01-04 20:12:27 +0100 | |
commit | 55ebbafe46fc144709cbd313f61ffcd219f1887d (patch) | |
tree | d66ba966fe56af6f097008fd5db0fb3981fdee15 | |
parent | Improve service loader info (diff) | |
download | ferdium-app-55ebbafe46fc144709cbd313f61ffcd219f1887d.tar.gz ferdium-app-55ebbafe46fc144709cbd313f61ffcd219f1887d.tar.zst ferdium-app-55ebbafe46fc144709cbd313f61ffcd219f1887d.zip |
Fix issue with error view and "user aborted" requests
-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 7f3020060..7a955a6d9 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) { | 205 | if (event.isMainFrame && 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; |