feat(assist): extra debug log
This commit is contained in:
parent
b09e2d1fc9
commit
a3893ff8ff
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ async function onConnect(socket) {
|
|||
//
|
||||
let debugLogs = false;
|
||||
if (socket.handshake.query.identity === IDENTITIES.session) {
|
||||
console.log(JSON.stringify(socket.handshake.query));
|
||||
debugLogs = projectToTrack == socket.handshake.query.sessionInfo?.projectID;
|
||||
} else if (socket.handshake.query.identity === IDENTITIES.agent) {
|
||||
debugLogs = projectToTrack == String(socket.handshake.query.projectId);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue