Usibility

pull/10/head
Dennis Schwerdel 2017-03-24 07:01:04 +01:00
parent 8b859dddb9
commit 6841470981
2 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,7 @@ pub fn run() {
let backup = match repo.create_backup_recursively(&src_path, reference_backup.as_ref()) {
Ok(backup) => backup,
Err(RepositoryError::Backup(BackupError::FailedPaths(backup, _failed_paths))) => {
warn!("Some files are missing form the backup");
warn!("Some files are missing from the backup");
backup
},
Err(err) => {

View File

@ -340,6 +340,7 @@ impl Repository {
let chunks = match self.create_backup_recurse(&child_path, ref_child.as_ref(), backup, failed_paths) {
Ok(chunks) => chunks,
Err(_) => {
warn!("Failed to backup {:?}", child_path);
failed_paths.push(child_path);
continue
}