aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video-channel
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-09 15:56:02 +0200
committerChocobozzz <me@florianbigard.com>2018-07-09 15:56:02 +0200
commite4f0e92e755be1332dea7cb161e70a53af5c42ef (patch)
tree3ef52e4a046aa5dff8378722cc17a3f7a4eafb86 /client/src/app/shared/video-channel
parent5634dfc81161918c2da018989a518f1ef5fe2664 (diff)
downloadPeerTube-e4f0e92e755be1332dea7cb161e70a53af5c42ef.tar.gz
PeerTube-e4f0e92e755be1332dea7cb161e70a53af5c42ef.tar.zst
PeerTube-e4f0e92e755be1332dea7cb161e70a53af5c42ef.zip
Fix client error logging
Diffstat (limited to 'client/src/app/shared/video-channel')
-rw-r--r--client/src/app/shared/video-channel/video-channel.service.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/video-channel/video-channel.service.ts b/client/src/app/shared/video-channel/video-channel.service.ts
index 0b9900208..8c000665f 100644
--- a/client/src/app/shared/video-channel/video-channel.service.ts
+++ b/client/src/app/shared/video-channel/video-channel.service.ts
@@ -27,7 +27,7 @@ export class VideoChannelService {
27 .pipe( 27 .pipe(
28 map(videoChannelHash => new VideoChannel(videoChannelHash)), 28 map(videoChannelHash => new VideoChannel(videoChannelHash)),
29 tap(videoChannel => this.videoChannelLoaded.next(videoChannel)), 29 tap(videoChannel => this.videoChannelLoaded.next(videoChannel)),
30 catchError(res => this.restExtractor.handleError(res)) 30 catchError(err => this.restExtractor.handleError(err))
31 ) 31 )
32 } 32 }
33 33
@@ -35,7 +35,7 @@ export class VideoChannelService {
35 return this.authHttp.get<ResultList<VideoChannelServer>>(AccountService.BASE_ACCOUNT_URL + account.nameWithHost + '/video-channels') 35 return this.authHttp.get<ResultList<VideoChannelServer>>(AccountService.BASE_ACCOUNT_URL + account.nameWithHost + '/video-channels')
36 .pipe( 36 .pipe(
37 map(res => this.extractVideoChannels(res)), 37 map(res => this.extractVideoChannels(res)),
38 catchError((res) => this.restExtractor.handleError(res)) 38 catchError(err => this.restExtractor.handleError(err))
39 ) 39 )
40 } 40 }
41 41
@@ -59,7 +59,7 @@ export class VideoChannelService {
59 const url = VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannelUUID + '/avatar/pick' 59 const url = VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannelUUID + '/avatar/pick'
60 60
61 return this.authHttp.post<{ avatar: Avatar }>(url, avatarForm) 61 return this.authHttp.post<{ avatar: Avatar }>(url, avatarForm)
62 .pipe(catchError(this.restExtractor.handleError)) 62 .pipe(catchError(err => this.restExtractor.handleError(err)))
63 } 63 }
64 64
65 removeVideoChannel (videoChannel: VideoChannel) { 65 removeVideoChannel (videoChannel: VideoChannel) {