fix: type error in gateway
This commit is contained in:
parent
bfae1c95dd
commit
18a67c90b4
@ -261,7 +261,7 @@ export class GatewayService {
|
||||
this.circuitBreakerOpenUntilMs = 0;
|
||||
return false;
|
||||
}
|
||||
this.rejectAllPendingRequests(new ServiceUnavailableError('Gateway circuit breaker open'));
|
||||
this.rejectAllPendingRequests(new ServiceUnavailableError({ message: "Gateway circuit breaker open" }));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user