Better error message in videos list

This commit is contained in:
Chocobozzz 2019-12-27 13:10:50 +01:00
parent f2aa2c3cca
commit f27a885a43
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 6 additions and 1 deletions

View File

@ -159,7 +159,12 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy, DisableFor
this.onDataSubject.next(data)
},
error => this.notifier.error(error.message)
error => {
const message = this.i18n('Cannot load more videos. Try again later.')
console.error(message, { error })
this.notifier.error(message)
}
)
}