diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index 51dbe93e..6a83afd6 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -52,9 +52,11 @@ module.controller('SubscribeCtrl', ['$scope', '$location', 'FeedService', 'Categ $scope.state = 'ok'; $scope.sub.title = data.title; $scope.sub.url = data.url; + $scope.stacktrace = null; }, function(data) { $scope.state = 'failed'; $scope.sub.title = 'Loading failed. Invalid feed?'; + $scope.stacktrace = data.data; }); } }; diff --git a/src/main/webapp/templates/feeds.subscribe.html b/src/main/webapp/templates/feeds.subscribe.html index 6d2ced11..db306071 100644 --- a/src/main/webapp/templates/feeds.subscribe.html +++ b/src/main/webapp/templates/feeds.subscribe.html @@ -34,4 +34,6 @@ + +
{{stacktrace}}
\ No newline at end of file