Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Better error message in videos list

Chocobozzzf27a885a4368
diff --git a/client/src/app/shared/video/abstract-video-list.ts b/client/src/app/shared/video/abstract-video-list.ts
index faeea27d9f..a2a12bec74 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)
+ }
)
}