diff --git a/frontend/src/Settings/General/LoggingSettings.js b/frontend/src/Settings/General/LoggingSettings.js index e7853328e..39ec2fb63 100644 --- a/frontend/src/Settings/General/LoggingSettings.js +++ b/frontend/src/Settings/General/LoggingSettings.js @@ -6,6 +6,12 @@ import FormGroup from 'Components/Form/FormGroup'; import FormLabel from 'Components/Form/FormLabel'; import FormInputGroup from 'Components/Form/FormInputGroup'; +const logLevelOptions = [ + { key: 'info', value: 'Info' }, + { key: 'debug', value: 'Debug' }, + { key: 'trace', value: 'Trace' } +]; + function LoggingSettings(props) { const { settings, @@ -16,12 +22,6 @@ function LoggingSettings(props) { logLevel } = settings; - const logLevelOptions = [ - { key: 'info', value: 'Info' }, - { key: 'debug', value: 'Debug' }, - { key: 'trace', value: 'Trace' } - ]; - return (
diff --git a/frontend/src/System/Status/Health/Health.js b/frontend/src/System/Status/Health/Health.js index b3f26ea17..f92f87ebb 100644 --- a/frontend/src/System/Status/Health/Health.js +++ b/frontend/src/System/Status/Health/Health.js @@ -26,6 +26,7 @@ function getInternalLink(source) { /> ); case 'DownloadClientCheck': + case 'DownloadClientStatusCheck': case 'ImportMechanismCheck': return ( ); case 'DownloadClientCheck': + case 'DownloadClientStatusCheck': return ( GetValue("Branch", "master").ToLowerInvariant(); - public string LogLevel => GetValue("LogLevel", "Info"); + public string LogLevel => GetValue("LogLevel", "info"); public string ConsoleLogLevel => GetValue("ConsoleLogLevel", string.Empty, persist: false); public string SslCertHash => GetValue("SslCertHash", ""); diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs index 5362fc4e0..c7c7932fc 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs @@ -51,18 +51,7 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd private IEnumerable 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(); - } - + var sabQueue = _proxy.GetQueue(0, 0, Settings); var queueItems = new List(); foreach (var sabQueueItem in sabQueue.Items)