diff --git a/client/src/app/shared/shared-main/custom-page/custom-page.service.ts b/client/src/app/shared/shared-main/custom-page/custom-page.service.ts index 6a2d3a1f5..b0af379d2 100644 --- a/client/src/app/shared/shared-main/custom-page/custom-page.service.ts +++ b/client/src/app/shared/shared-main/custom-page/custom-page.service.ts @@ -23,7 +23,7 @@ export class CustomPageService { return of({ content: '' }) } - this.restExtractor.handleError(err) + return this.restExtractor.handleError(err) }) ) } diff --git a/client/src/app/shared/shared-main/video/video.service.ts b/client/src/app/shared/shared-main/video/video.service.ts index 9b2bc5dee..7d7bd3643 100644 --- a/client/src/app/shared/shared-main/video/video.service.ts +++ b/client/src/app/shared/shared-main/video/video.service.ts @@ -395,7 +395,7 @@ export class VideoService { return of([]) } - this.restExtractor.handleError(err) + return this.restExtractor.handleError(err) }) ) } @@ -411,7 +411,7 @@ export class VideoService { return of(undefined) } - this.restExtractor.handleError(err) + return this.restExtractor.handleError(err) }) ) }