Better error message in videos list
This commit is contained in:
parent
f2aa2c3cca
commit
f27a885a43
1 changed files with 6 additions and 1 deletions
|
@ -159,7 +159,12 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy, DisableFor
|
||||||
this.onDataSubject.next(data)
|
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)
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue