Display only the key on heed error

This commit is contained in:
Clément Renault 2020-09-23 14:13:51 +02:00
parent 5178b3d59d
commit 4d22d80281
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -517,7 +517,7 @@ where F: FnMut(&[u8], &[u8]) -> anyhow::Result<()>
let mut iter = merger.into_merge_iter()?;
while let Some(result) = iter.next() {
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());