Browse Source
Update http-error-reporter.service.ts
pull/18058/head^2
Mahmut Gundogdu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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]); |
|
|
|
} |
|
|
|
|