From 9b48ad061b8a4445c6b9c1b59b7d87cf6d3fd365 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 20 Nov 2025 18:50:45 +0200 Subject: [PATCH] =?UTF-8?q?UI:=20Fixed=20incorrect=20show=20error=20?= =?UTF-8?q?=E2=80=9C504=20Gateway=20Time-out=E2=80=9D=20in=20used=20haprox?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui-ngx/src/app/core/interceptors/global-http-interceptor.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui-ngx/src/app/core/interceptors/global-http-interceptor.ts b/ui-ngx/src/app/core/interceptors/global-http-interceptor.ts index dccda985b4..af204fc99b 100644 --- a/ui-ngx/src/app/core/interceptors/global-http-interceptor.ts +++ b/ui-ngx/src/app/core/interceptors/global-http-interceptor.ts @@ -125,6 +125,10 @@ export class GlobalHttpInterceptor implements HttpInterceptor { this.showError(req.method + ': ' + req.url + '
' + errorResponse.status + ': ' + errorResponse.statusText); } + } else if (errorResponse.status === 504) { + if (!ignoreErrors) { + this.showError('Request timeout'); + } } else { unhandled = true; }