diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-18 09:27:25 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-19 19:58:31 +0200 |
commit | 248e5ab7518746c0ac43747040290e9b5d138028 (patch) | |
tree | fead573f0f298758c913d01566de9edc682ebf22 /src/backup_run.rs | |
parent | 45f4145573035a6485f565cacf16c6a39c36dbd5 (diff) | |
download | obnam2-248e5ab7518746c0ac43747040290e9b5d138028.tar.gz |
feat: back up and restore Unix domain sockets
Diffstat (limited to 'src/backup_run.rs')
-rw-r--r-- | src/backup_run.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backup_run.rs b/src/backup_run.rs index 024f486..60623e6 100644 --- a/src/backup_run.rs +++ b/src/backup_run.rs @@ -55,7 +55,11 @@ impl<'a> InitialBackup<'a> { entry: FsIterResult<FilesystemEntry>, ) -> BackupResult<(FilesystemEntry, Vec<ChunkId>, Reason)> { match entry { - Err(err) => Err(err.into()), + Err(err) => { + warn!("backup: there was a problem: {:?}", err); + self.progress.found_problem(); + Err(err.into()) + } Ok(entry) => { let path = &entry.pathbuf(); info!("backup: {}", path.display()); |