log error

This commit is contained in:
Colin Frei 2013-07-22 08:14:24 +02:00
parent 1481fcb22c
commit 43ffa9c186

View file

@ -34,8 +34,11 @@ function FeedCtrl($scope, $routeParams, $location, feeds, pageSwitcher) {
// show info at top and items underneath
feeds.get($routeParams.feedId)
.then(function(feed) {
$scope.feed = feed;
});
$scope.feed = feed;
}, function() {
console.log('error fetching feed');
});
$scope.delete = function(id) {
//TODO: check we're not playing anything from this feed?