From 7d3100ed8f5d72813b86bd3fe5b27432d05c070c Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Wed, 29 May 2024 19:29:54 -0700 Subject: [PATCH] Reqwest sometimes fails to request valid URLs. Return true from errors --- quickget_ci/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget_ci/src/utils.rs b/quickget_ci/src/utils.rs index fcaaf68..99f38f7 100644 --- a/quickget_ci/src/utils.rs +++ b/quickget_ci/src/utils.rs @@ -28,7 +28,7 @@ pub async fn all_valid(urls: Vec) -> bool { .await .into_iter() .flatten() - .all(|r| r.unwrap_or(false)) + .all(|r| r.unwrap_or(true)) } static CLIENT: Lazy = Lazy::new(Client::new);