diff options
author | Shaquille Johnson <ssjohnson@google.com> | 2024-02-17 19:35:20 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-17 19:35:20 +0000 |
commit | ea9fe60bf5b50849da397f7b5c95072bdbe0c521 (patch) | |
tree | b125b570986ad6efe409c5e4d3054a9f68174148 | |
parent | b4e19af8c7dba7b66652191711ebb5fa9a693839 (diff) | |
parent | f23fc9489bbe3f55ac032ce3d97b88c8114acd7f (diff) | |
download | security-ea9fe60bf5b50849da397f7b5c95072bdbe0c521.tar.gz |
Merge "Update typo and add blob id to log" into main
-rw-r--r-- | keystore2/src/database.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystore2/src/database.rs b/keystore2/src/database.rs index d320e20a..b526daac 100644 --- a/keystore2/src/database.rs +++ b/keystore2/src/database.rs @@ -1167,9 +1167,9 @@ impl KeystoreDB { "DELETE FROM persistent.blobmetadata WHERE blobentryid = ?;", params![blob_id], ) - .context("Trying to delete blob metadata.")?; + .context(ks_err!("Trying to delete blob metadata: {:?}", blob_id))?; tx.execute("DELETE FROM persistent.blobentry WHERE id = ?;", params![blob_id]) - .context("Trying to blob.")?; + .context(ks_err!("Trying to delete blob: {:?}", blob_id))?; } Self::cleanup_unreferenced(tx).context("Trying to cleanup unreferenced.")?; |