From badca16d2a342f740f880151d00ec80f4f7dc511 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 2 Jan 2023 20:18:39 +0000 Subject: [PATCH] gateway timeout --- packages/backend/src/core/HttpRequestService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/HttpRequestService.ts b/packages/backend/src/core/HttpRequestService.ts index e173762493..c94135d84a 100644 --- a/packages/backend/src/core/HttpRequestService.ts +++ b/packages/backend/src/core/HttpRequestService.ts @@ -241,7 +241,7 @@ export class HttpRequestService { ]); if (res == null) { - throw new StatusError(`Request Timeout`, 408, 'Request Timeout'); + throw new StatusError(`Gateway Timeout`, 504, 'Gateway Timeout'); } if (!res.ok && !args.noOkError) {