From 20732336becb322729838a0283a4d1391f23de28 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Tue, 14 Sep 2021 18:41:46 +0200 Subject: fix error with link should not cause panic --- repo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'repo.go') 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) -- cgit v1.2.3