diff --git a/aries_vcx/src/handlers/issuance/issuer.rs b/aries_vcx/src/handlers/issuance/issuer.rs index a47d2d6ae0..6ee3b97000 100644 --- a/aries_vcx/src/handlers/issuance/issuer.rs +++ b/aries_vcx/src/handlers/issuance/issuer.rs @@ -25,8 +25,7 @@ pub struct IssuerConfig { } fn _build_credential_preview(credential_json: &str) -> VcxResult { - trace!("Issuer::_build_credential_preview >>> credential_json: {:?}", credential_json); - + trace!("Issuer::_build_credential_preview >>> credential_json: {:?}", secret!(credential_json)); let cred_values: serde_json::Value = serde_json::from_str(credential_json) .map_err(|err| VcxError::from_msg(VcxErrorKind::InvalidJson, format!("Can't deserialize credential preview json. credential_json: {}, error: {:?}", credential_json, err)))?; @@ -48,7 +47,7 @@ fn _build_credential_preview(credential_json: &str) -> VcxResult