podcastMetricsReader->metrics($this->userService->getUserUID()); foreach ($subscriptions as $id => $subscription) { try { $subscriptions[$id]['data'] = $this->podcastDataReader->getCachedOrFetchPodcastData($subscription->getUrl(), $this->userService->getUserUID()); } catch (\Exception $e) { continue; } } return new JSONResponse($subscriptions); } }