mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-18 06:54:15 +00:00
Loggin error on fetch lyrics
This commit is contained in:
parent
1b3cb9b49b
commit
fb227a371b
@ -34,7 +34,10 @@ export default ({ trackManifest }) => {
|
|||||||
.catch(() => null)
|
.catch(() => null)
|
||||||
}
|
}
|
||||||
} else {
|
} 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
|
// if no data founded, flush lyrics
|
||||||
|
Loading…
x
Reference in New Issue
Block a user