From bb2ab5ff68de4b5f675b50d22dd553ef597290f0 Mon Sep 17 00:00:00 2001 From: Sinan997 Date: Mon, 16 Oct 2023 22:40:00 +0300 Subject: [PATCH] fix null return problem in executeErrorHandle method --- .../packages/theme-shared/src/lib/handlers/error.handler.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts b/npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts index 0a472a18cb..b61568f136 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts +++ b/npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts @@ -47,8 +47,7 @@ export class ErrorHandler { return (isObservable ? errHandler : of(null)).pipe( catchError(err => { - this.handleError(err); - return of(null); + return of(err); }), ); };