diff --git a/internal/archiver/archiver.go b/internal/archiver/archiver.go index 24a0dc135..59392e028 100644 --- a/internal/archiver/archiver.go +++ b/internal/archiver/archiver.go @@ -420,7 +420,7 @@ func (arch *Archiver) Save(ctx context.Context, snPath, target string, previous // make sure it's still a file if !fs.IsRegularFile(fi) { - err = errors.Errorf("file %v changed type, refusing to archive") + err = errors.Errorf("file %v changed type, refusing to archive", fi.Name()) _ = file.Close() err = arch.error(abstarget, err) if err != nil {