mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Multiple Heath Check UI Fixes
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
89d912bb2b
commit
936b2502cc
5 changed files with 11 additions and 20 deletions
|
@ -180,7 +180,7 @@ namespace NzbDrone.Core.Configuration
|
|||
|
||||
public string Branch => GetValue("Branch", "develop").ToLowerInvariant();
|
||||
|
||||
public string LogLevel => GetValue("LogLevel", "Info");
|
||||
public string LogLevel => GetValue("LogLevel", "info");
|
||||
public string ConsoleLogLevel => GetValue("ConsoleLogLevel", string.Empty, persist: false);
|
||||
public bool FilterSentryEvents => GetValueBoolean("FilterSentryEvents", true, persist: false);
|
||||
|
||||
|
|
|
@ -51,18 +51,7 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
|
|||
|
||||
private IEnumerable<DownloadClientItem> GetQueue()
|
||||
{
|
||||
SabnzbdQueue sabQueue;
|
||||
|
||||
try
|
||||
{
|
||||
sabQueue = _proxy.GetQueue(0, 0, Settings);
|
||||
}
|
||||
catch (DownloadClientException ex)
|
||||
{
|
||||
_logger.Warn(ex, "Couldn't get download queue. {0}", ex.Message);
|
||||
return Enumerable.Empty<DownloadClientItem>();
|
||||
}
|
||||
|
||||
var sabQueue = _proxy.GetQueue(0, 0, Settings);
|
||||
var queueItems = new List<DownloadClientItem>();
|
||||
|
||||
foreach (var sabQueueItem in sabQueue.Items)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue