aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/video-watch')
-rw-r--r--client/src/app/videos/video-watch/video-report.component.ts2
-rw-r--r--client/src/app/videos/video-watch/video-watch.component.ts6
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/videos/video-watch/video-report.component.ts b/client/src/app/videos/video-watch/video-report.component.ts
index a5758060d..d9c83a640 100644
--- a/client/src/app/videos/video-watch/video-report.component.ts
+++ b/client/src/app/videos/video-watch/video-report.component.ts
@@ -63,7 +63,7 @@ export class VideoReportComponent extends FormReactive implements OnInit {
63 this.hide() 63 this.hide()
64 }, 64 },
65 65
66 err => this.notificationsService.error('Error', err) 66 err => this.notificationsService.error('Error', err.message)
67 ) 67 )
68 } 68 }
69} 69}
diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts
index 9cedc9c76..f5a47199d 100644
--- a/client/src/app/videos/video-watch/video-watch.component.ts
+++ b/client/src/app/videos/video-watch/video-watch.component.ts
@@ -158,7 +158,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
158 this.userRating = 'like' 158 this.userRating = 'like'
159 }, 159 },
160 160
161 err => this.notificationsService.error('Error', err) 161 err => this.notificationsService.error('Error', err.message)
162 ) 162 )
163 } 163 }
164 164
@@ -175,7 +175,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
175 this.userRating = 'dislike' 175 this.userRating = 'dislike'
176 }, 176 },
177 177
178 err => this.notificationsService.error('Error', err) 178 err => this.notificationsService.error('Error', err.message)
179 ) 179 )
180 } 180 }
181 181
@@ -275,7 +275,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
275 } 275 }
276 }, 276 },
277 277
278 err => this.notificationsService.error('Error', err) 278 err => this.notificationsService.error('Error', err.message)
279 ) 279 )
280 } 280 }
281 281