From 8c3574484853ad5d6e0ecac9ef1f8a188ae4ba5e Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Thu, 16 Jan 2025 14:33:53 +0100 Subject: [PATCH] Improve error log --- crates/milli/src/update/new/indexer/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/milli/src/update/new/indexer/mod.rs b/crates/milli/src/update/new/indexer/mod.rs index cbd58c0ad..9d0f8e480 100644 --- a/crates/milli/src/update/new/indexer/mod.rs +++ b/crates/milli/src/update/new/indexer/mod.rs @@ -587,7 +587,8 @@ fn write_from_bbqueue( Ok(false) => { tracing::error!( database_name, - key = %key.as_bstr(), + key_bytes = ?key, + formatted_key = ?key.as_bstr(), "Attempt to delete an unknown key" ); }