diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 588a8b78..2f2867a3 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -554,6 +554,8 @@ impl Store { pub fn delete(&self, id: S) -> Result<()> { let id = try!(id.into_storeid()).with_base(self.path().clone()); + debug!("Deleting id: '{}'", id); + { let mut entries = match self.entries.write() { Err(_) => return Err(SE::new(SEK::LockPoisoned, None)) @@ -580,6 +582,7 @@ impl Store { } } + debug!("Deleted"); Ok(()) }