mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-22 19:13:10 +08:00
Demote panic to error log
This commit is contained in:
parent
ce621e447e
commit
b84c0a5390
@ -585,10 +585,11 @@ fn write_from_bbqueue(
|
|||||||
}
|
}
|
||||||
(key, None) => match database.delete(wtxn, key) {
|
(key, None) => match database.delete(wtxn, key) {
|
||||||
Ok(false) => {
|
Ok(false) => {
|
||||||
unreachable!(
|
tracing::error!(
|
||||||
"We tried to delete an unknown key from {database_name}: {:?}",
|
database_name,
|
||||||
key.as_bstr()
|
key = %key.as_bstr(),
|
||||||
)
|
"Attempt to delete an unknown key"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
Ok(_) => (),
|
Ok(_) => (),
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user