Fixed: Error message when RSS feed items lack a pubData element
This commit is contained in:
parent
51d45247d0
commit
4e28c7d190
|
@ -192,7 +192,7 @@ namespace NzbDrone.Core.Indexers
|
||||||
|
|
||||||
if (dateString.IsNullOrWhiteSpace())
|
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);
|
return XElementExtensions.ParseDate(dateString);
|
||||||
|
|
Loading…
Reference in New Issue