_logger.Warn(ex,"Indexer does not support the query");
_logger.Warn(ex,"Indexer does not support the query");
returnnewValidationFailure(string.Empty,"Indexer does not support the current query. Check if the categories and or searching for movies are supported. Check the log for more details.");
returnnewValidationFailure(string.Empty,"Indexer does not support the current query. Check if the categories and or searching for movies are supported. Check the log for more details.");
}
}
else
{
_logger.Warn(ex,"Unable to connect to indexer");
_logger.Warn(ex,"Unable to connect to indexer");
returnnewValidationFailure(string.Empty,"Unable to connect to indexer, check the log for more details");
returnnewValidationFailure(string.Empty,"Unable to connect to indexer, check the log for more details");
}
}
catch(HttpRequestExceptionex)
{
_logger.Warn(ex,"Unable to connect to indexer");
returnnewValidationFailure(string.Empty,"Unable to connect to indexer, please check your DNS settings and ensure IPv6 is working or disabled. "+ex.Message);
}
catch(TaskCanceledExceptionex)
{
_logger.Warn(ex,"Unable to connect to indexer");
returnnewValidationFailure(string.Empty,"Unable to connect to indexer, possibly due to a timeout. Try again or check your network settings. "+ex.Message);