Loggin error on fetch lyrics

This commit is contained in:
SrGooglo 2025-06-16 20:48:35 +00:00
parent 1b3cb9b49b
commit fb227a371b

View File

@ -34,7 +34,10 @@ export default ({ trackManifest }) => {
.catch(() => null)
}
} else {
data = await track.serviceOperations.fetchLyrics().catch(() => null)
data = await track.serviceOperations.fetchLyrics().catch((err) => {
console.error(err)
return null
})
}
// if no data founded, flush lyrics