Add debug output to Store::save_as

This commit is contained in:
Matthias Beyer 2017-06-04 19:13:24 +02:00
parent e157a906bd
commit c06d8c319f

View file

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