diff options
-rw-r--r-- | src/stores/AppStore.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 54a3e4d92..93a7deea9 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -182,8 +182,13 @@ export default class AppStore extends Store { | |||
182 | } | 182 | } |
183 | 183 | ||
184 | if (data.error) { | 184 | if (data.error) { |
185 | console.log('Updater error:', data.error); | 185 | if (data.error.message && data.error.message.startsWith('404')) { |
186 | this.updateStatus = this.updateStatusTypes.FAILED; | 186 | this.updateStatus = this.updateStatusTypes.NOT_AVAILABLE; |
187 | console.warn('Updater warning: there seems to be unpublished pre-release(s) available on GitHub', data.error); | ||
188 | } else { | ||
189 | console.error('Updater error:', data.error); | ||
190 | this.updateStatus = this.updateStatusTypes.FAILED; | ||
191 | } | ||
187 | } | 192 | } |
188 | } | 193 | } |
189 | }); | 194 | }); |