Add debug output to Store::move_by_id
This commit is contained in:
parent
1c18db56e6
commit
fa0e8130b6
1 changed files with 3 additions and 0 deletions
|
@ -668,6 +668,8 @@ impl Store {
|
|||
let new_id = new_id.with_base(self.path().clone());
|
||||
let old_id = old_id.with_base(self.path().clone());
|
||||
|
||||
debug!("Moving '{}' to '{}'", old_id, new_id);
|
||||
|
||||
{
|
||||
let mut hsmap = match self.entries.write() {
|
||||
Err(_) => return Err(SE::new(SEK::LockPoisoned, None)),
|
||||
|
@ -706,6 +708,7 @@ impl Store {
|
|||
|
||||
}
|
||||
|
||||
debug!("Moved");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue