From 48ba98fff4874a85c44413f6884c6c7441016b79 Mon Sep 17 00:00:00 2001 From: charltonaustin Date: Mon, 10 Oct 2016 14:42:33 -0400 Subject: [PATCH] Fixing the build. --- static/js/directives/quay-message-bar.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/directives/quay-message-bar.js b/static/js/directives/quay-message-bar.js index 04e94dbd7..ec4fe0f4c 100644 --- a/static/js/directives/quay-message-bar.js +++ b/static/js/directives/quay-message-bar.js @@ -11,11 +11,11 @@ angular.module('quay').directive('quayMessageBar', function () { scope: {}, controller: function ($scope, $element, ApiService) { $scope.messages = []; - try { - ApiService.getMessages().then(function (data) { - $scope.messages = data['messages'] || []; - }); - } + ApiService.getMessages().then(function (data) { + $scope.messages = data['messages'] || []; + }, function (resp) { + return true; + }); } }; });