This commit is contained in:
Spencer Ofwiti
2021-03-28 13:21:54 +03:00
parent 25fd616ff7
commit 16d476a2aa
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,6 @@ export class ErrorInterceptor implements HttpInterceptor {
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {
return next.handle(request).pipe(
retry(1),
catchError((err: HttpErrorResponse) => {
let errorMessage;
if (err.error instanceof ErrorEvent) {