From 129032a13d19d500011fe23bcdd232b87eeb9b2f Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 20 Sep 2021 11:00:59 +0200 Subject: less noisy file read errors --- repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repo.go') diff --git a/repo.go b/repo.go index 126ce41..3dab2b3 100644 --- a/repo.go +++ b/repo.go @@ -226,7 +226,7 @@ func concatFiles(files []File, stream io.WriteCloser) { for _, f := range files { file, err := os.Open(f.Path) if err != nil { - logger.Errorf("reading file '%s': %s", f.Path, err) + logger.Error(err) continue } if n, err := io.Copy(stream, file); err != nil { -- cgit v1.2.3