From 57cf6bd26fcdebbdc982f600c9eccd4e65536aec Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 13 Sep 2016 13:57:12 +0200 Subject: [PATCH] SONAR-8021 handle failed requests with statuses 502, 503 and 504 --- server/sonar-web/src/main/js/main/processes.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/main/processes.js b/server/sonar-web/src/main/js/main/processes.js index 478edab8c01..200c2158a21 100644 --- a/server/sonar-web/src/main/js/main/processes.js +++ b/server/sonar-web/src/main/js/main/processes.js @@ -178,7 +178,10 @@ $.ajaxSetup({ 400: handleAjaxError, 401: handleAjaxError, 403: handleAjaxError, - 500: handleAjaxError + 500: handleAjaxError, + 502: handleAjaxError, + 503: handleAjaxError, + 504: handleAjaxError } }); -- 2.39.5