Skip to content

Commit 733c9ef

Browse files
committed
changed log levels info -> warn
1 parent 13ab747 commit 733c9ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libwebauthn/src/management/bio_enrollment.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use crate::{
2020
use async_trait::async_trait;
2121
use serde_bytes::ByteBuf;
2222
use std::time::Duration;
23-
use tracing::info;
23+
use tracing::{info, warn};
2424

2525
#[async_trait]
2626
pub trait BioEnrollment {
@@ -84,7 +84,7 @@ where
8484
match resp.modality {
8585
Some(modality) => Ok(modality),
8686
None => {
87-
info!("Channel did not return modality.");
87+
warn!("Channel did not return modality.");
8888
Err(Error::Ctap(CtapError::Other))
8989
}
9090
}
@@ -98,7 +98,7 @@ where
9898
// No UV needed
9999
let resp = self.ctap2_bio_enrollment(&req, timeout).await?;
100100
let Some(fingerprint_kind) = resp.fingerprint_kind else {
101-
info!("Channel did not return fingerprint_kind in sensor info.");
101+
warn!("Channel did not return fingerprint_kind in sensor info.");
102102
return Err(Error::Ctap(CtapError::Other))
103103
};
104104
Ok(Ctap2BioEnrollmentFingerprintSensorInfo {

0 commit comments

Comments
 (0)