Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/36387dd13f682d35f1c3779ebb12f3b8f52414ba You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Prevent queue errors from filling up UI with errors

pull/6/head
Mark McDowall 11 years ago
parent 6525fe9a67
commit 36387dd13f

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using NLog;
using NzbDrone.Core.Download;
@ -30,9 +31,17 @@ namespace NzbDrone.Core.Queue
return new List<Queue>();
}
var queueItems = downloadClient.GetQueue();
try
{
var queueItems = downloadClient.GetQueue();
return MapQueue(queueItems);
return MapQueue(queueItems);
}
catch (Exception ex)
{
_logger.Error("Error getting queue from download client: " + downloadClient.ToString(), ex);
return new List<Queue>();
}
}
private List<Queue> MapQueue(IEnumerable<QueueItem> queueItems)

Loading…
Cancel
Save