Browse Source

fix a lint error

pull/7960/head
mehmet-erim 6 years ago
parent
commit
442144e9f0
  1. 4
      npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts

4
npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts

@ -117,8 +117,8 @@ export class ErrorHandler {
.subscribe(); .subscribe();
} }
private executeErrorHandler = err => { private executeErrorHandler = error => {
const returnValue = this.httpErrorHandler(this.injector, err); const returnValue = this.httpErrorHandler(this.injector, error);
return (returnValue instanceof Observable ? returnValue : of(null)).pipe( return (returnValue instanceof Observable ? returnValue : of(null)).pipe(
catchError(err => { catchError(err => {

Loading…
Cancel
Save