mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
handle error while polling notifications fails
This commit is contained in:
parent
f6cd552c66
commit
5828513a3a
@ -323,6 +323,8 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
||||
$scope.notifications = data.totals;
|
||||
|
||||
angular.forEach(data.notifications, function (notification) { growl.info(notification.message.description); });
|
||||
}).catch(function (error) {
|
||||
console.error('Error while polling notifications', error);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user