mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Better logging for Application Indexer updating
This commit is contained in:
@@ -87,7 +87,7 @@ namespace NzbDrone.Core.Applications.Sonarr
|
||||
|
||||
public override void UpdateIndexer(IndexerDefinition indexer)
|
||||
{
|
||||
_logger.Debug("Updating indexer {0}[{1}]", indexer.Name, indexer.Id);
|
||||
_logger.Debug("Updating indexer {0} [{1}]", indexer.Name, indexer.Id);
|
||||
|
||||
var appMappings = _appIndexerMapService.GetMappingsForApp(Definition.Id);
|
||||
var indexerMapping = appMappings.FirstOrDefault(m => m.IndexerId == indexer.Id);
|
||||
@@ -107,7 +107,7 @@ namespace NzbDrone.Core.Applications.Sonarr
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Debug("Remote indexer not found, re-adding indexer to Sonarr");
|
||||
_logger.Debug("Remote indexer not found, re-adding {0} to Sonarr", indexer.Name);
|
||||
sonarrIndexer.Id = 0;
|
||||
|
||||
var newRemoteIndexer = _sonarrV3Proxy.AddIndexer(sonarrIndexer, Settings);
|
||||
|
Reference in New Issue
Block a user