Skip to content

Commit

Permalink
Remove redundant warning.
Browse files Browse the repository at this point in the history
The upstream program can make the same distinction and decide how to
handle the case itself.
  • Loading branch information
cobward committed Jan 9, 2025
1 parent 89aabfc commit b29e4fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/wallet.rs
Original file line number Diff line number Diff line change
@@ -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::{
Expand Down Expand Up @@ -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))
}
Expand Down

0 comments on commit b29e4fc

Please sign in to comment.