From d2dc06982b62f4f7c54848130cdf87df6dab521e Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Thu, 14 Nov 2019 13:45:31 +0300 Subject: [PATCH] fix: remove console warn --- .../packages/theme-shared/src/lib/handlers/error.handler.ts | 2 -- 1 file changed, 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 0aa9956aa5..ec0d3ac808 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 @@ -191,7 +191,6 @@ export class ErrorHandler { } private navigateToLogin() { - console.warn(this.store.selectSnapshot(RouterState.url)); this.store.dispatch( new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } }), ); @@ -208,7 +207,6 @@ export class ErrorHandler { this.componentRef.instance[key] = instance[key]; } } - console.warn(this.httpErrorConfig.errorScreen); this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon; if (this.canCreateCustomError(instance.status as ErrorScreenErrorCodes)) { this.componentRef.instance.cfRes = this.cfRes;