gateway timeout

This commit is contained in:
tamaina 2023-01-02 20:18:39 +00:00
parent 3b450ce396
commit badca16d2a
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ export class HttpRequestService {
]); ]);
if (res == null) { if (res == null) {
throw new StatusError(`Request Timeout`, 408, 'Request Timeout'); throw new StatusError(`Gateway Timeout`, 504, 'Gateway Timeout');
} }
if (!res.ok && !args.noOkError) { if (!res.ok && !args.noOkError) {