diff --git a/app/assets/javascripts/controllers/application.js.erb b/app/assets/javascripts/controllers/application.js.erb index de01efdcc..c9c930ad3 100644 --- a/app/assets/javascripts/controllers/application.js.erb +++ b/app/assets/javascripts/controllers/application.js.erb @@ -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); }); } };