mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed: Error message when RSS feed items lack a pubData element
This commit is contained in:
parent
51d45247d0
commit
4e28c7d190
@ -192,7 +192,7 @@ protected virtual DateTime GetPublishDate(XElement item)
|
||||
|
||||
if (dateString.IsNullOrWhiteSpace())
|
||||
{
|
||||
throw new UnsupportedFeedException("Rss feed must have a pubDate element with a valid publish date.");
|
||||
throw new UnsupportedFeedException("Each item in the RSS feed must have a pubDate element with a valid publish date.");
|
||||
}
|
||||
|
||||
return XElementExtensions.ParseDate(dateString);
|
||||
|
Loading…
Reference in New Issue
Block a user