Better errors from podcast 'Add' dialog
This commit is contained in:
parent
de380369ed
commit
c5a5839eff
10 changed files with 44 additions and 14 deletions
|
@ -72,7 +72,7 @@ class Application_Service_PodcastService
|
|||
|
||||
//TODO: why is this so slow?
|
||||
$rss = self::getPodcastFeed($feedUrl);
|
||||
if (!$rss) {
|
||||
if (!$rss || !empty($rss->error())) {
|
||||
throw new InvalidPodcastException();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue