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

Fixed: Test messaging when indexer API returns an error with a message

pull/3113/head
Mark McDowall 10 years ago
parent e4e687c2a4
commit f0933b9786

@ -1,14 +1,16 @@
using NzbDrone.Common.Exceptions;
using NzbDrone.Core.Indexers.Exceptions;
namespace NzbDrone.Core.Indexers.Newznab
{
public class NewznabException : NzbDroneException
public class NewznabException : IndexerException
{
public NewznabException(string message, params object[] args) : base(message, args)
public NewznabException(IndexerResponse response, string message, params object[] args)
: base(response, message, args)
{
}
public NewznabException(string message) : base(message)
public NewznabException(IndexerResponse response, string message)
: base(response, message)
{
}
}

@ -37,7 +37,7 @@ namespace NzbDrone.Core.Indexers.Newznab
throw new RequestLimitReachedException("API limit reached");
}
throw new NewznabException("Newznab error detected: {0}", errorMessage);
throw new NewznabException(indexerResponse, errorMessage);
}
protected override ReleaseInfo ProcessItem(XElement item, ReleaseInfo releaseInfo)

Loading…
Cancel
Save