From 6841470981866a73d941817965f8d54e7a7d3f2d Mon Sep 17 00:00:00 2001 From: Dennis Schwerdel Date: Fri, 24 Mar 2017 07:01:04 +0100 Subject: [PATCH] Usibility --- src/cli/mod.rs | 2 +- src/repository/backup.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 5401250..af7389a 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -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) => { diff --git a/src/repository/backup.rs b/src/repository/backup.rs index af9dd39..8b6a111 100644 --- a/src/repository/backup.rs +++ b/src/repository/backup.rs @@ -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 }