ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix error messages
Chocobozzz255c00305c89
diff --git a/client/src/app/+search/search.component.ts b/client/src/app/+search/search.component.tsindex 62b1c4446b..366fbd4599 100644--- a/client/src/app/+search/search.component.ts+++ b/client/src/app/+search/search.component.ts@@ -98,7 +98,7 @@ export class SearchComponent implements OnInit, OnDestroy {this.search()},- error: err => this.notifier.error(err.text)+ error: err => this.notifier.error(err.message)})this.userService.getAnonymousOrLoggedUser()diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts b/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.tsindex fd36142974..9f4a68736b 100644--- a/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts+++ b/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts@@ -148,7 +148,7 @@ export class VideoCommentAddComponent extends FormReactive implements OnChanges,error: err => {this.addingComment = false- this.notifier.error(err.text)+ this.notifier.error(err.message)}})}diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.tsindex ece6bc5d16..ca46866f56 100644--- a/client/src/app/core/auth/auth.service.ts+++ b/client/src/app/core/auth/auth.service.ts@@ -97,7 +97,7 @@ export class AuthService {let errorMessage = err.messageif (err.status === HttpStatusCode.FORBIDDEN_403) {- errorMessage = $localize`Cannot retrieve OAuth Client credentials: ${err.text}.+ errorMessage = $localize`Cannot retrieve OAuth Client credentials: ${err.message}.Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.`}