Add debug output to Store::retrieve_copy
This commit is contained in:
parent
ef0a76a02f
commit
79623e1db2
1 changed files with 1 additions and 0 deletions
|
@ -523,6 +523,7 @@ impl Store {
|
|||
///
|
||||
pub fn retrieve_copy<S: IntoStoreId>(&self, id: S) -> Result<Entry> {
|
||||
let id = try!(id.into_storeid()).with_base(self.path().clone());
|
||||
debug!("Retrieving copy of '{}'", id);
|
||||
let entries = match self.entries.write() {
|
||||
Err(_) => {
|
||||
return Err(SE::new(SEK::LockPoisoned, None))
|
||||
|
|
Loading…
Reference in a new issue