add socket data logging
This commit is contained in:
parent
1b0ad44d65
commit
72e8207d4d
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ async function onUpdateEvent(socket, ...args) {
|
|||
}
|
||||
|
||||
async function onWebrtcAgentHandler(socket, ...args) {
|
||||
logger.debug(JSON.stringify(args));
|
||||
if (socket.handshake.query.identity === IDENTITIES.agent) {
|
||||
const agentIdToConnect = args[0]?.data?.toAgentId;
|
||||
logger.debug(`${socket.id} sent webrtc event to agent:${agentIdToConnect}`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue