diff --git a/jambotron-ui/src/app/helpers/custom-http-interceptor.ts b/jambotron-ui/src/app/helpers/custom-http-interceptor.ts index 04222ec..8a8a682 100644 --- a/jambotron-ui/src/app/helpers/custom-http-interceptor.ts +++ b/jambotron-ui/src/app/helpers/custom-http-interceptor.ts @@ -15,11 +15,9 @@ export class CustomHttpInterceptor implements HttpInterceptor { return next.handle(req) .pipe(tap((event: HttpEvent) => { if (event instanceof HttpResponse) { + console.log('Interceptor увидел ответ:', event.url, 'status:', event.status, 'ok:', event.ok); this.spinnerService.hide(); } - }, (error) => { - this.spinnerService.hide(); })) - ; } }