Skip to content

Commit

Permalink
print debug (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqvq authored Aug 30, 2024
1 parent ab408eb commit 4c35307
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fastcrypto-zkp/src/bn254/zk_login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use regex::Regex;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use std::cmp::Ordering::{Equal, Greater, Less};
use std::error::Error;
use std::str::FromStr;

#[cfg(test)]
Expand Down Expand Up @@ -339,7 +340,8 @@ pub async fn fetch_jwks(
.await
.map_err(|e| {
FastCryptoError::GeneralError(format!(
"Failed to get JWK {:?} {:?}",
"Failed to get JWK {:?} {:?} {:?}",
e.source(),
e.to_string(),
provider
))
Expand Down

0 comments on commit 4c35307

Please sign in to comment.