diff options
-rw-r--r-- | repo.go | 2 | ||||
-rw-r--r-- | tar.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 { @@ -13,7 +13,7 @@ func streamFilesTar(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 } stat, err := file.Stat() |