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":
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);
@@ -2033,7 +2033,7 @@ namespace Jackett.Common.Indexers
case "categorydesc":
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);