You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let should_log_signable_body = std::env::var(LOG_SIGNABLE_BODY)
102
+
.map(|v| v.eq_ignore_ascii_case("true"))
103
+
.unwrap_or_default();
104
+
matchself{
105
+
Self::Bytes(arg0) => {
106
+
if should_log_signable_body {
107
+
f.debug_tuple("Bytes").field(arg0).finish()
108
+
}else{
109
+
let redacted = format!("** REDACTED **. To print {body_size} bytes of raw data, set environment variable `LOG_SIGNABLE_BODY=true`", body_size = arg0.len());
0 commit comments