* Improve indexer health check messages
Fixed: Improve health check message when all enabled indexers are disabled due to failures
Closes#1551
* Fixed: Health check failing and preventing others from running
* Fixed Indexer Health Checks and tests.
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Multi-Computer unsupported)","Migrating-to-Completed-Download-Handling#Unsupported-download-client-on-different-computer");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Sabnzbd)","Migrating-to-Completed-Download-Handling#sabnzbd-enable-completed-download-handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Nzbget)","Migrating-to-Completed-Download-Handling#nzbget-enable-completed-download-handling");
}
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible","Migrating-to-Completed-Download-Handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"No indexers available with RSS sync enabled, Sonarr will not grab new releases automatically");
}
varactive=_indexerFactory.RssEnabled(true);
if(active.Empty())
{
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"All rss-capable indexers are temporarily unavailable due to recent indexer errors");