From 32fa49f1e98a9a10e29abb06b1bc4324993bd34a Mon Sep 17 00:00:00 2001 From: Nick Denry Date: Fri, 7 Aug 2020 20:37:46 +0300 Subject: [PATCH] Fix error handling for version check --- app/controllers/default-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/default-controller.js b/app/controllers/default-controller.js index 08ecd28..f2ebe99 100644 --- a/app/controllers/default-controller.js +++ b/app/controllers/default-controller.js @@ -18,7 +18,7 @@ angApp.controller('DefaultController', function($scope, $timeout, $http, AppInfo else { $scope.checkingForUpdate = 'latest' } - }, (error) => { + }).catch((error) => { $scope.checkingForUpdate = 'checkErr' }) }