improve scanner logging

This commit is contained in:
sentriz
2019-06-06 16:17:16 +01:00
parent 63f8889660
commit fde318289b
2 changed files with 3 additions and 3 deletions

View File

@@ -256,7 +256,7 @@ func (s *Scanner) handleTrack(it *item) error {
track.AlbumID = s.curFolderID()
tags, err := readTags(it.fullPath)
if err != nil {
return errors.Wrap(err, "reading tags")
return errors.Wrapf(err, "reading tags for file `%s`", it.relPath)
}
track.TagTitle = tags.Title()
track.TagTrackArtist = tags.Artist()