do not popup error dialogs

This commit is contained in:
Girish Ramakrishnan
2020-04-18 18:09:29 -07:00
parent c2b80d7aba
commit 6ee7e75465

View File

@@ -38,7 +38,7 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati
callback = callback || function () {};
Client.getService(serviceName, function (error, result) {
if (error) Client.error(error);
if (error) return console.log('Error getting status of ' + serviceName + ':' + error.message);
var service = $scope.services.find(function (s) { return s.name === serviceName; });
if (!service) $scope.services.push(result);