From 7da38b7c27b71bfdec7d42fad8cf5f56752cec87 Mon Sep 17 00:00:00 2001 From: Aniruddha Shriwant Date: Tue, 19 Nov 2024 11:40:04 +0530 Subject: [PATCH] fix: throwing 401 sing in related errors back from interceptor (#3268) --- src/app/core/interceptors/httpInterceptor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/interceptors/httpInterceptor.ts b/src/app/core/interceptors/httpInterceptor.ts index c3dfc1f84e..22ea5d27f8 100644 --- a/src/app/core/interceptors/httpInterceptor.ts +++ b/src/app/core/interceptors/httpInterceptor.ts @@ -168,7 +168,7 @@ export class HttpConfigInterceptor implements HttpInterceptor { this.secureStorageService.clearAll(); this.storageService.clearAll(); globalCacheBusterNotifier.next(); - return EMPTY; + return throwError(error); } } return throwError(error);