Fixed: RemotePathMappingCheck ignores all download client exceptions (#735)

This commit is contained in:
ta264
2019-04-08 18:24:13 +01:00
committed by GitHub
parent 11eaa58c1c
commit b1aff8fe58
2 changed files with 19 additions and 9 deletions
@@ -86,7 +86,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
}
}
}
catch (DownloadClientUnavailableException ex)
catch (DownloadClientException ex)
{
_logger.Debug(ex, "Unable to communicate with {0}", client.Definition.Name);
}
@@ -171,7 +171,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
return new HealthCheck(GetType(), HealthCheckResult.Error, $"Download client {client.Definition.Name} reported files in {dlpath} but Lidarr cannot see this directory. You may need to adjust the folder's permissions.", "#permissions-error");
}
}
catch (DownloadClientUnavailableException ex)
catch (DownloadClientException ex)
{
_logger.Debug(ex, "Unable to communicate with {0}", client.Definition.Name);
}