Skip to content

Commit

Permalink
Using tracing::warn instead of println
Browse files Browse the repository at this point in the history
  • Loading branch information
cobward committed Aug 2, 2024
1 parent b0e0800 commit bcede2e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/core/authorization_request/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,10 @@ impl ClientMetadata {
))?
.try_into()
.context("failed to parse client metadata from JSON");
} else {
// bail!("the client metadata was not passed by reference or value")
println!("[WARNING] the client metadata was not passed by reference or value");
return Ok(ClientMetadata(UntypedObject::default()))
}

tracing::warn!("the client metadata was not passed by reference or value");
Ok(ClientMetadata(UntypedObject::default()))
}
}

Expand Down

0 comments on commit bcede2e

Please sign in to comment.