From c06d8c319f53e441e45c9347114715bd88bf134c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 4 Jun 2017 19:13:24 +0200 Subject: [PATCH] Add debug output to Store::save_as --- libimagstore/src/store.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 604cfcc3..4fa556d8 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -595,6 +595,7 @@ impl Store { /// Save an Entry in another place /// Removes the original entry pub fn save_as(&self, entry: FileLockEntry, new_id: StoreId) -> Result<()> { + debug!("Saving '{}' as '{}'", entry.get_location(), new_id); self.save_to_other_location(&entry, new_id, true) }