From f5f6e0d54ddd7d5a20f0941f7d9b1f4dd6a83bff Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Wed, 18 Dec 2024 21:02:56 +0100 Subject: [PATCH] temp: Temporary commit for wyvest issue (todo: revert) --- packages/core/src/utils/http.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/core/src/utils/http.rs b/packages/core/src/utils/http.rs index 9a6ef546..63d25680 100644 --- a/packages/core/src/utils/http.rs +++ b/packages/core/src/utils/http.rs @@ -106,7 +106,11 @@ pub async fn fetch_advanced( match result { Ok(x) => { - let x = x.error_for_status()?; + let x = if !x.url().to_string().starts_with("https://resources") { + tracing::info!(x)//.error_for_status()?; + } else { + x + }; let bytes = if let Some((feed, total)) = &ingress { let length = x.content_length();