mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-19 19:30:47 +02:00
Fixed: (LazyLibrarian) Test indexer pull on setup to validate
This commit is contained in:
parent
8e7acd8946
commit
07575ae239
1 changed files with 7 additions and 0 deletions
|
|
@ -133,12 +133,19 @@ public ValidationFailure TestConnection(LazyLibrarianSettings settings)
|
|||
{
|
||||
return new ValidationFailure("ApiKey", status.Error.Message);
|
||||
}
|
||||
|
||||
var indexers = GetIndexers(settings);
|
||||
}
|
||||
catch (HttpException ex)
|
||||
{
|
||||
_logger.Error(ex, "Unable to send test message");
|
||||
return new ValidationFailure("BaseUrl", "Unable to complete application test");
|
||||
}
|
||||
catch (LazyLibrarianException ex)
|
||||
{
|
||||
_logger.Error(ex, "Connection test failed");
|
||||
return new ValidationFailure("", ex.Message);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error(ex, "Unable to send test message");
|
||||
|
|
|
|||
Loading…
Reference in a new issue