From: Chocobozzz Date: Fri, 27 Dec 2019 12:10:50 +0000 (+0100) Subject: Better error message in videos list X-Git-Tag: v2.1.0-rc.1~144 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f27a885a4368776ffb8158c917c6e3f3d21ef670;p=oweals%2Fpeertube.git Better error message in videos list --- diff --git a/client/src/app/shared/video/abstract-video-list.ts b/client/src/app/shared/video/abstract-video-list.ts index faeea27d9..a2a12bec7 100644 --- a/client/src/app/shared/video/abstract-video-list.ts +++ b/client/src/app/shared/video/abstract-video-list.ts @@ -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) + } ) }