removed error overlay for timeout
This commit is contained in:
parent
0112333e7b
commit
ea2b90fabd
@ -12,7 +12,8 @@ export class ServerErrorInterceptor implements HttpInterceptor {
|
||||
return next.handle(req).pipe(
|
||||
map((event: HttpEvent<any>) => event),
|
||||
catchError((error: HttpErrorResponse) => {
|
||||
if (error.status >= 500 || error.status === 0) {
|
||||
if (error.status >= 500) {
|
||||
// || error.status === 0
|
||||
this._errorService.set(error);
|
||||
}
|
||||
return throwError(error);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user