]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8021 handle failed requests with statuses 502, 503 and 504
authorStas Vilchik <vilchiks@gmail.com>
Tue, 13 Sep 2016 11:57:12 +0000 (13:57 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 13 Sep 2016 11:57:12 +0000 (13:57 +0200)
server/sonar-web/src/main/js/main/processes.js

index 478edab8c01747f5800c60817aefbbc36d1a1212..200c2158a218573b538d7c690bb86be9e38fa41b 100644 (file)
@@ -178,7 +178,10 @@ $.ajaxSetup({
     400: handleAjaxError,
     401: handleAjaxError,
     403: handleAjaxError,
-    500: handleAjaxError
+    500: handleAjaxError,
+    502: handleAjaxError,
+    503: handleAjaxError,
+    504: handleAjaxError
   }
 });