diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-14 18:41:46 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-14 18:41:46 +0200 |
commit | 20732336becb322729838a0283a4d1391f23de28 (patch) | |
tree | cac32bd279635b667fa32a4fa7924581c956a9c6 /repo.go | |
parent | 63f156021298f710cb2c4fc460f046c366329a43 (diff) | |
download | dna-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.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |