scanner: log file paths when can't scan tags

This commit is contained in:
sentriz
2026-02-07 14:51:10 +00:00
parent e2dabd2519
commit fcf69743f0
+1 -1
View File
@@ -376,7 +376,7 @@ func (s *Scanner) scanDir(st *State, absPath string) error {
for _, t := range trackUpdates {
trprops, trags, err := s.tagReader.Read(t.absPath)
if err != nil {
return fmt.Errorf("%w: %w", err, ErrReadingTags)
return fmt.Errorf("read %q: %w: %w", t.basename, err, ErrReadingTags)
}
if err := s.populateTrackAndArtists(tx, st, t.i, &album, t.track, t.timeSpec, trprops, trags, t.basename, t.absPath); err != nil {