aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-27 13:10:50 +0100
committerChocobozzz <me@florianbigard.com>2019-12-27 13:10:50 +0100
commitf27a885a4368776ffb8158c917c6e3f3d21ef670 (patch)
treeef11739b4dceae2248eb061b4fbf07b304331aaa
parentf2aa2c3cca2433d89ba80b1c2b64ea6c4b95fe66 (diff)
downloadPeerTube-f27a885a4368776ffb8158c917c6e3f3d21ef670.tar.gz
PeerTube-f27a885a4368776ffb8158c917c6e3f3d21ef670.tar.zst
PeerTube-f27a885a4368776ffb8158c917c6e3f3d21ef670.zip
Better error message in videos list
-rw-r--r--client/src/app/shared/video/abstract-video-list.ts7
1 files changed, 6 insertions, 1 deletions
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
159 this.onDataSubject.next(data) 159 this.onDataSubject.next(data)
160 }, 160 },
161 161
162 error => this.notifier.error(error.message) 162 error => {
163 const message = this.i18n('Cannot load more videos. Try again later.')
164
165 console.error(message, { error })
166 this.notifier.error(message)
167 }
163 ) 168 )
164 } 169 }
165 170