From b29e4fc33a6c2b84428a45f718a86f676c2b9aae Mon Sep 17 00:00:00 2001 From: Jacob Date: Thu, 9 Jan 2025 11:45:14 +0000 Subject: [PATCH] Remove redundant warning. The upstream program can make the same distinction and decide how to handle the case itself. --- src/wallet.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wallet.rs b/src/wallet.rs index 074d0a4..355668d 100644 --- a/src/wallet.rs +++ b/src/wallet.rs @@ -1,7 +1,6 @@ use anyhow::{bail, Context, Result}; use async_trait::async_trait; use http::header::CONTENT_TYPE; -use tracing::warn; use url::Url; use crate::core::{ @@ -81,7 +80,6 @@ pub trait Wallet: RequestVerifier + Sync { } Ok(serde_json::from_str(&body) - .map_err(|e| warn!("response did not contain a redirect: {e}")) .ok() .map(|PostRedirection { redirect_uri }| redirect_uri)) }