mirror of https://github.com/Jackett/Jackett
core: fix cookie login message (#8375)
Before this change the message was: Your cookie did not work: Your cookie did not work Now: Your cookie did not work: Found 0 results in the tracker
This commit is contained in:
parent
d9b19719e4
commit
9fa9494d6e
|
@ -110,7 +110,7 @@ namespace Jackett.Common.Indexers.Abstract
|
|||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (!results.Any())
|
||||
{
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
}
|
||||
|
||||
IsConfigured = true;
|
||||
|
|
|
@ -93,7 +93,7 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (!results.Any())
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
|
|
|
@ -132,7 +132,7 @@ namespace Jackett.Common.Indexers
|
|||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (!results.Any())
|
||||
{
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
}
|
||||
|
||||
IsConfigured = true;
|
||||
|
|
|
@ -138,7 +138,7 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (!results.Any())
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
|
|
|
@ -184,7 +184,7 @@ namespace Jackett.Common.Indexers
|
|||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (results.Count() == 0)
|
||||
{
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
}
|
||||
|
||||
IsConfigured = true;
|
||||
|
|
|
@ -145,7 +145,7 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (!results.Any())
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace Jackett.Common.Indexers
|
|||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (results.Count() == 0)
|
||||
{
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
}
|
||||
|
||||
IsConfigured = true;
|
||||
|
|
|
@ -82,7 +82,7 @@ namespace Jackett.Common.Indexers
|
|||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (results.Count() == 0)
|
||||
{
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
}
|
||||
|
||||
IsConfigured = true;
|
||||
|
|
|
@ -154,7 +154,7 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (!results.Any())
|
||||
throw new Exception("no results found, please report this bug");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
|
|
|
@ -141,7 +141,7 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (!results.Any())
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
|
||||
IsConfigured = true;
|
||||
SaveConfig();
|
||||
|
|
|
@ -94,7 +94,7 @@ namespace Jackett.Common.Indexers
|
|||
var results = await PerformQuery(new TorznabQuery());
|
||||
if (results.Count() == 0)
|
||||
{
|
||||
throw new Exception("Your cookie did not work");
|
||||
throw new Exception("Found 0 results in the tracker");
|
||||
}
|
||||
|
||||
IsConfigured = true;
|
||||
|
|
Loading…
Reference in New Issue