File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libwebauthn/src/management Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ use crate::{
2020use async_trait:: async_trait;
2121use serde_bytes:: ByteBuf ;
2222use std:: time:: Duration ;
23- use tracing:: info;
23+ use tracing:: { info, warn } ;
2424
2525#[ async_trait]
2626pub trait BioEnrollment {
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 }
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 {
You can’t perform that action at this time.
0 commit comments