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

Handle failed downloading on NZB so it will not get added to the History if it fails.

pull/7/merge
Mark McDowall 14 years ago
parent 3a6cf56db1
commit 4e9f8bd2d0

@ -160,7 +160,11 @@ namespace NzbDrone.Core.Providers.Indexer
var folder = !String.IsNullOrEmpty(blackholeDir) ? blackholeDir : Path.Combine(CentralDispatch.AppPath, "App_Data");
var fileName = Path.Combine(folder, sabTitle + ".nzb");
_logger.Info("Downloading NZB: {0}", sabTitle);
_httpProvider.DownloadFile(NzbDownloadUrl(feedItem), fileName);
if (!_httpProvider.DownloadFile(NzbDownloadUrl(feedItem), fileName))
{
_logger.Info("Failed to download NZB");
return;
}
}
//else send to SAB

Loading…
Cancel
Save