Demote panic to error log

This commit is contained in:
Louis Dureuil 2025-01-16 11:38:21 +01:00
parent ce621e447e
commit b84c0a5390
No known key found for this signature in database

View File

@ -585,10 +585,11 @@ fn write_from_bbqueue(
}
(key, None) => match database.delete(wtxn, key) {
Ok(false) => {
unreachable!(
"We tried to delete an unknown key from {database_name}: {:?}",
key.as_bstr()
)
tracing::error!(
database_name,
key = %key.as_bstr(),
"Attempt to delete an unknown key"
);
}
Ok(_) => (),
Err(error) => {