From 89106b8e6e2c1215124b0b2aa5605ffe52b445a9 Mon Sep 17 00:00:00 2001 From: Shaquille Johnson Date: Wed, 21 Feb 2024 22:58:13 +0000 Subject: Change the log level from error to warn This log is said to be ignored so it should not be at the level of an error as that could confuse people. Test: N/A Change-Id: I561fc8c16337de9d40714d87d3525f432f5afad7 --- keystore2/src/operation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystore2/src/operation.rs b/keystore2/src/operation.rs index eabc1abb..11eaf17a 100644 --- a/keystore2/src/operation.rs +++ b/keystore2/src/operation.rs @@ -290,7 +290,7 @@ impl Operation { // We abort the operation. If there was an error we log it but ignore it. if let Err(e) = map_km_error(self.km_op.abort()) { - log::error!("In prune: KeyMint::abort failed with {:?}.", e); + log::warn!("In prune: KeyMint::abort failed with {:?}.", e); } Ok(()) -- cgit v1.2.3