summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaquille Johnson <ssjohnson@google.com>2024-02-21 22:58:13 +0000
committerShaquille Johnson <ssjohnson@google.com>2024-02-28 20:43:17 +0000
commit89106b8e6e2c1215124b0b2aa5605ffe52b445a9 (patch)
tree4060fa78e8b38785a7c9258f49944772aaf34b48
parent94646d7d190918036401fd4d63b44a9d357bc7d1 (diff)
downloadsecurity-89106b8e6e2c1215124b0b2aa5605ffe52b445a9.tar.gz
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
-rw-r--r--keystore2/src/operation.rs2
1 files changed, 1 insertions, 1 deletions
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(())