aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+admin/friends/friend-add/friend-add.component.ts2
-rw-r--r--client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts2
-rw-r--r--client/src/app/+admin/users/user-edit/user-add.component.ts2
-rw-r--r--client/src/app/+admin/users/user-edit/user-update.component.ts4
-rw-r--r--client/src/app/signup/signup.component.ts2
-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
7 files changed, 10 insertions, 10 deletions
diff --git a/client/src/app/+admin/friends/friend-add/friend-add.component.ts b/client/src/app/+admin/friends/friend-add/friend-add.component.ts
index 02543d393..e0b73dfa3 100644
--- a/client/src/app/+admin/friends/friend-add/friend-add.component.ts
+++ b/client/src/app/+admin/friends/friend-add/friend-add.component.ts
@@ -98,7 +98,7 @@ export class FriendAddComponent implements OnInit {
98 setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000) 98 setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000)
99 }, 99 },
100 100
101 err => this.notificationsService.error('Error', err.text) 101 err => this.notificationsService.error('Error', err)
102 ) 102 )
103 } 103 }
104 ) 104 )
diff --git a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
index 4e3fabc64..1edeb31fe 100644
--- a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
+++ b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
@@ -57,7 +57,7 @@ export class RequestSchedulersStatsComponent implements OnInit, OnDestroy {
57 this.requestService.getStats().subscribe( 57 this.requestService.getStats().subscribe(
58 stats => this.stats = stats, 58 stats => this.stats = stats,
59 59
60 err => this.notificationsService.error('Error', err.text) 60 err => this.notificationsService.error('Error', err)
61 ) 61 )
62 } 62 }
63 63
diff --git a/client/src/app/+admin/users/user-edit/user-add.component.ts b/client/src/app/+admin/users/user-edit/user-add.component.ts
index 40f649cff..5dc069104 100644
--- a/client/src/app/+admin/users/user-edit/user-add.component.ts
+++ b/client/src/app/+admin/users/user-edit/user-add.component.ts
@@ -73,7 +73,7 @@ export class UserAddComponent extends UserEdit implements OnInit {
73 this.router.navigate([ '/admin/users/list' ]) 73 this.router.navigate([ '/admin/users/list' ])
74 }, 74 },
75 75
76 err => this.error = err.text 76 err => this.error = err
77 ) 77 )
78 } 78 }
79 79
diff --git a/client/src/app/+admin/users/user-edit/user-update.component.ts b/client/src/app/+admin/users/user-edit/user-update.component.ts
index dbac5f974..0966981c0 100644
--- a/client/src/app/+admin/users/user-edit/user-update.component.ts
+++ b/client/src/app/+admin/users/user-edit/user-update.component.ts
@@ -59,7 +59,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy {
59 this.userService.getUser(userId).subscribe( 59 this.userService.getUser(userId).subscribe(
60 user => this.onUserFetched(user), 60 user => this.onUserFetched(user),
61 61
62 err => this.error = err.text 62 err => this.error = err
63 ) 63 )
64 }) 64 })
65 } 65 }
@@ -82,7 +82,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy {
82 this.router.navigate([ '/admin/users/list' ]) 82 this.router.navigate([ '/admin/users/list' ])
83 }, 83 },
84 84
85 err => this.error = err.text 85 err => this.error = err
86 ) 86 )
87 } 87 }
88 88
diff --git a/client/src/app/signup/signup.component.ts b/client/src/app/signup/signup.component.ts
index 981fe3c3b..65a2d44e3 100644
--- a/client/src/app/signup/signup.component.ts
+++ b/client/src/app/signup/signup.component.ts
@@ -67,7 +67,7 @@ export class SignupComponent extends FormReactive implements OnInit {
67 this.router.navigate([ '/videos/list' ]) 67 this.router.navigate([ '/videos/list' ])
68 }, 68 },
69 69
70 err => this.error = err.text 70 err => this.error = err
71 ) 71 )
72 } 72 }
73} 73}
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 61213cd68..a5758060d 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.text) 66 err => this.notificationsService.error('Error', err)
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 255757692..9cedc9c76 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.text) 161 err => this.notificationsService.error('Error', err)
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.text) 178 err => this.notificationsService.error('Error', err)
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.text) 278 err => this.notificationsService.error('Error', err)
279 ) 279 )
280 } 280 }
281 281