aboutsummaryrefslogtreecommitdiff
path: root/repo.go
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-14 18:41:46 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-14 18:41:46 +0200
commit20732336becb322729838a0283a4d1391f23de28 (patch)
treecac32bd279635b667fa32a4fa7924581c956a9c6 /repo.go
parent63f156021298f710cb2c4fc460f046c366329a43 (diff)
downloaddna-backup-20732336becb322729838a0283a4d1391f23de28.tar.gz
dna-backup-20732336becb322729838a0283a4d1391f23de28.zip
fix error with link should not cause panic
Diffstat (limited to 'repo.go')
-rw-r--r--repo.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/repo.go b/repo.go
index bde894d..cd13588 100644
--- a/repo.go
+++ b/repo.go
@@ -215,7 +215,8 @@ func concatFiles(files []File, stream io.WriteCloser) {
continue
}
if n, err := io.Copy(stream, file); err != nil {
- logger.Panic(n, err)
+ logger.Error(n, err)
+ continue
}
if err = file.Close(); err != nil {
logger.Panic(err)