fix(api-gateway): add logs about calling web sockets with minimal format
This commit is contained in:
parent
b55d80a7cd
commit
5d3fb9a537
1 changed files with 3 additions and 0 deletions
|
@ -144,6 +144,9 @@ export class HttpServiceProxy implements ServiceProxyInterface {
|
|||
}
|
||||
|
||||
const isARequestComingFromApiGatewayAndShouldBeKeptInMinimalFormat = request.headers.connectionid !== undefined
|
||||
this.logger.info(
|
||||
`Calling websockets service: ${endpointOrMethodIdentifier}. Format is minimal: ${isARequestComingFromApiGatewayAndShouldBeKeptInMinimalFormat}`,
|
||||
)
|
||||
if (isARequestComingFromApiGatewayAndShouldBeKeptInMinimalFormat) {
|
||||
await this.callServerWithLegacyFormat(
|
||||
this.webSocketServerUrl,
|
||||
|
|
Loading…
Reference in a new issue