From b8f5856bacc1939c22695640cf0f1ba80e9ddb5f Mon Sep 17 00:00:00 2001 From: kaso17 Date: Mon, 3 Dec 2018 09:49:26 +0100 Subject: [PATCH] MoreThanTV: improve missing quality tag error --- src/Jackett.Common/Indexers/MoreThanTV.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Indexers/MoreThanTV.cs b/src/Jackett.Common/Indexers/MoreThanTV.cs index f240bb4f9..52134c898 100644 --- a/src/Jackett.Common/Indexers/MoreThanTV.cs +++ b/src/Jackett.Common/Indexers/MoreThanTV.cs @@ -158,9 +158,9 @@ namespace Jackett.Common.Indexers // Parse required data var downloadAnchor = groupItem.QuerySelectorAll("td a").Last(); var qualityData = downloadAnchor.InnerHtml.Split('/'); - + if (qualityData.Length < 2) - throw new Exception($"We expected 2 or more quality datas, instead we have {qualityData.Length}."); + throw new Exception($"We expected 2 or more quality datas, instead we have {qualityData.Length} for {season}."); // Build title var title = string.Join(".", new List