diff options
author | Shaquille Johnson <ssjohnson@google.com> | 2024-02-21 22:58:13 +0000 |
---|---|---|
committer | Shaquille Johnson <ssjohnson@google.com> | 2024-02-28 20:43:17 +0000 |
commit | 89106b8e6e2c1215124b0b2aa5605ffe52b445a9 (patch) | |
tree | 4060fa78e8b38785a7c9258f49944772aaf34b48 | |
parent | 94646d7d190918036401fd4d63b44a9d357bc7d1 (diff) | |
download | security-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.rs | 2 |
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(()) |