mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Display only the key on heed error
This commit is contained in:
parent
5178b3d59d
commit
4d22d80281
@ -517,7 +517,7 @@ where F: FnMut(&[u8], &[u8]) -> anyhow::Result<()>
|
|||||||
let mut iter = merger.into_merge_iter()?;
|
let mut iter = merger.into_merge_iter()?;
|
||||||
while let Some(result) = iter.next() {
|
while let Some(result) = iter.next() {
|
||||||
let (k, v) = result?;
|
let (k, v) = result?;
|
||||||
(f)(&k, &v).with_context(|| format!("writing {:?} {:?} into LMDB", k.as_bstr(), k.as_bstr()))?;
|
(f)(&k, &v).with_context(|| format!("writing {:?} into LMDB", k.as_bstr()))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
debug!("MTBL stores merged in {:.02?}!", before.elapsed());
|
debug!("MTBL stores merged in {:.02?}!", before.elapsed());
|
||||||
|
Loading…
Reference in New Issue
Block a user