1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-05 19:23:19 +00:00

convert printlns in core/biometric crate

This commit is contained in:
neuronull
2025-09-15 19:59:43 -06:00
parent 3a9fe62c48
commit b34e33f931

View File

@@ -4,6 +4,7 @@ use anyhow::Result;
use base64::Engine;
use rand::RngCore;
use sha2::{Digest, Sha256};
use tracing::error;
use crate::biometric::{base64_engine, KeyMaterial, OsDerivedKey};
use zbus::Connection;
@@ -35,7 +36,7 @@ impl super::BiometricTrait for Biometric {
match result {
Ok(result) => Ok(result.is_authorized),
Err(e) => {
println!("polkit biometric error: {:?}", e);
error!( error = %e, "polkit biometric error");
Ok(false)
}
}