fix(websockets): stringify response from the AWS Api Gateway
This commit is contained in:
parent
45b55068f9
commit
002074e4d1
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ export class WebSocketsClientMessenger implements ClientMessengerInterface {
|
|||
})
|
||||
if (response.status !== 200) {
|
||||
this.logger.error(
|
||||
`Could not send message to connection ${connectionUuid} for user ${userUuid}. Response status code: ${response.status}. Response body: ${response.data}`,
|
||||
`Could not send message to connection ${connectionUuid} for user ${userUuid}. Response status code: ${
|
||||
response.status
|
||||
}. Response body: ${JSON.stringify(response.data)}`,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue