aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/core/rest/rest-extractor.service.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/core/rest/rest-extractor.service.ts b/client/src/app/core/rest/rest-extractor.service.ts
index daed7f178..c6c1e183f 100644
--- a/client/src/app/core/rest/rest-extractor.service.ts
+++ b/client/src/app/core/rest/rest-extractor.service.ts
@@ -133,6 +133,10 @@ export class RestExtractor {
133 return $localize`Server error. Please retry later.` 133 return $localize`Server error. Please retry later.`
134 } 134 }
135 135
136 if (err.status === HttpStatusCode.BAD_GATEWAY_502) {
137 return $localize`Server is unavailable. Please retry later.`
138 }
139
136 return $localize`Unknown server error` 140 return $localize`Unknown server error`
137 } 141 }
138} 142}