1
0
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:
Mark McDowall 2021-11-03 16:30:07 -07:00
parent 51d45247d0
commit 4e28c7d190

View File

@ -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);