add clearer concept of timeout vs error

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

(cherry picked from commit 104c804)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2017-06-03 15:59:27 +01:00
parent b95ad701af
commit 3ebd90565c
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
return deferred.promise.timeout(10000).catch(() => {
electron.autoUpdater.removeListener('update-not-available', _onUpdateNotAvailable);
electron.autoUpdater.removeListener('update-available', _onUpdateAvailable);
return updateStateEnum.ERROR;
return updateStateEnum.TIMEOUT;
});
}