From 248dec6564c4fb86b3aad6cdca524a2f27567000 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 26 Feb 2024 09:54:03 -0500 Subject: [PATCH] Change warn to info. --- crates/api_common/src/request.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/api_common/src/request.rs b/crates/api_common/src/request.rs index d886096e9..1eab50bc5 100644 --- a/crates/api_common/src/request.rs +++ b/crates/api_common/src/request.rs @@ -15,7 +15,7 @@ use mime::Mime; use reqwest::{header::CONTENT_TYPE, Client, ClientBuilder}; use reqwest_middleware::ClientWithMiddleware; use serde::Deserialize; -use tracing::{info, warn}; +use tracing::info; use url::Url; use urlencoding::encode; use webpage::HTML; @@ -54,7 +54,7 @@ pub async fn fetch_link_metadata( let html_bytes = response.bytes().await.map_err(LemmyError::from)?.to_vec(); let opengraph_data = extract_opengraph_data(&html_bytes, url) - .map_err(|e| warn!("{e}")) + .map_err(|e| info!("{e}")) .unwrap_or_default(); let thumbnail = extract_thumbnail_from_opengraph_data( url,