Better error message in videos list

This commit is contained in:
Chocobozzz
2019-12-27 13:10:50 +01:00
parent f2aa2c3cca
commit f27a885a43

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)
}
)
}