mirror of
https://github.com/Readarr/Readarr
synced 2026-05-09 05:21:41 +02:00
don't log getqueue download client exceptions as error.
This commit is contained in:
parent
a44be4d902
commit
aa75b3d331
1 changed files with 4 additions and 5 deletions
|
|
@ -9,7 +9,6 @@
|
||||||
using NzbDrone.Common.Disk;
|
using NzbDrone.Common.Disk;
|
||||||
using NzbDrone.Common.Http;
|
using NzbDrone.Common.Http;
|
||||||
using NzbDrone.Core.Configuration;
|
using NzbDrone.Core.Configuration;
|
||||||
using NzbDrone.Core.Indexers;
|
|
||||||
using NzbDrone.Core.Parser;
|
using NzbDrone.Core.Parser;
|
||||||
using NzbDrone.Core.Parser.Model;
|
using NzbDrone.Core.Parser.Model;
|
||||||
using NzbDrone.Core.Validation;
|
using NzbDrone.Core.Validation;
|
||||||
|
|
@ -59,7 +58,7 @@ private IEnumerable<DownloadClientItem> GetQueue()
|
||||||
}
|
}
|
||||||
catch (DownloadClientException ex)
|
catch (DownloadClientException ex)
|
||||||
{
|
{
|
||||||
_logger.ErrorException(ex.Message, ex);
|
_logger.Warn("Couldn't get download queue. {0}", ex.Message);
|
||||||
return Enumerable.Empty<DownloadClientItem>();
|
return Enumerable.Empty<DownloadClientItem>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue