Add debug output to Store::move_by_id

This commit is contained in:
Matthias Beyer 2017-06-04 19:15:42 +02:00
parent 1c18db56e6
commit fa0e8130b6

View file

@ -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(())
}