Allow failing on findLastWatch

This commit is contained in:
root
2021-11-16 21:09:11 +05:30
parent f321e06651
commit 117895d586
+5 -1
View File
@@ -260,7 +260,11 @@ export default {
},
async getVideoData () {
this.lastWatch = await findLastWatch(this.videoId)
try {
this.lastWatch = await findLastWatch(this.videoId)
} catch (e) {
console.error('Errored while finding last watched', e)
}
const video = await this.fetchVideo()
video.videoId = this.videoId