mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: log proto objects to prevent buffer arrays being printed
This commit is contained in:
@@ -176,9 +176,10 @@ export const makeSocket = ({
|
||||
|
||||
/** connection handshake */
|
||||
const validateConnection = async() => {
|
||||
const helloMsg: proto.IHandshakeMessage = {
|
||||
let helloMsg: proto.IHandshakeMessage = {
|
||||
clientHello: { ephemeral: ephemeralKeyPair.public }
|
||||
}
|
||||
helloMsg = proto.HandshakeMessage.fromObject(helloMsg)
|
||||
|
||||
logger.info({ browser, helloMsg }, 'connected to WA Web')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user