Browse Source

Update http-error-reporter.service.ts

pull/18058/head^2
Mahmut Gundogdu 3 years ago
committed by GitHub
parent
commit
eb8a6ece42
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/ng-packs/packages/core/src/lib/services/http-error-reporter.service.ts

2
npm/ng-packs/packages/core/src/lib/services/http-error-reporter.service.ts

@ -19,7 +19,7 @@ export class HttpErrorReporterService {
return this._errors$.value;
}
reportError(error: HttpErrorResponse) {
reportError = (error: HttpErrorResponse) => {
this._reporter$.next(error);
this._errors$.next([...this.errors, error]);
}

Loading…
Cancel
Save