core: show indexer id if cardigann definition is wrong (#9905)

This commit is contained in:
Diego Heras 2020-10-19 21:27:23 +02:00 committed by GitHub
parent da0761406f
commit ec48676f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ namespace Jackett.Common.Services
}
catch (Exception e)
{
logger.Error($"Error while creating Cardigann instance from Definition: {e}");
logger.Error($"Error while creating Cardigann instance from definition ID={definition.Id}: {e}");
return null;
}
}).Where(cardigannIndexer => cardigannIndexer != null).ToList(); // Explicit conversion to list to avoid repeated resource loading