1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-05 19:29:03 +00:00

cardigann: identify indexer in noappend warning

This commit is contained in:
Garfield69 2023-04-07 06:03:33 +12:00
parent 97ffee12eb
commit 7181f64242

View file

@ -2017,7 +2017,7 @@ namespace Jackett.Common.Indexers
case "category": case "category":
if (FieldModifiers.Contains("noappend")) if (FieldModifiers.Contains("noappend"))
{ {
logger.Warn("The \"noappend\" modifier is deprecated. Please switch to \"default\". See the Definition Format in the Wiki for more information."); logger.Warn($"CardigannIndexer ({Id}): The \"noappend\" modifier is deprecated. Please switch to \"default\". See the Definition Format in the Wiki for more information.");
} }
var cats = MapTrackerCatToNewznab(value); var cats = MapTrackerCatToNewznab(value);
@ -2033,7 +2033,7 @@ namespace Jackett.Common.Indexers
case "categorydesc": case "categorydesc":
if (FieldModifiers.Contains("noappend")) if (FieldModifiers.Contains("noappend"))
{ {
logger.Warn("The \"noappend\" modifier is deprecated. Please switch to \"default\". See the Definition Format in the Wiki for more information."); logger.Warn($"CardigannIndexer ({Id}): The \"noappend\" modifier is deprecated. Please switch to \"default\". See the Definition Format in the Wiki for more information.");
} }
var catsDesc = MapTrackerCatDescToNewznab(value); var catsDesc = MapTrackerCatDescToNewznab(value);