gateway timeout
This commit is contained in:
parent
3b450ce396
commit
badca16d2a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue