Add debug output to Store::save_to_other_location
This commit is contained in:
parent
c06d8c319f
commit
1c18db56e6
1 changed files with 1 additions and 0 deletions
|
@ -621,6 +621,7 @@ impl Store {
|
||||||
FileAbstraction::copy(&old_id_as_path, &new_id_as_path)
|
FileAbstraction::copy(&old_id_as_path, &new_id_as_path)
|
||||||
.and_then(|_| {
|
.and_then(|_| {
|
||||||
if remove_old {
|
if remove_old {
|
||||||
|
debug!("Removing old '{:?}'", old_id_as_path);
|
||||||
FileAbstraction::remove_file(&old_id_as_path)
|
FileAbstraction::remove_file(&old_id_as_path)
|
||||||
} else {
|
} else {
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue