feat(assist): extra extra debug log
This commit is contained in:
parent
a3893ff8ff
commit
60b4225159
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ async function onConnect(socket) {
|
|||
//
|
||||
let debugLogs = false;
|
||||
if (socket.handshake.query.identity === IDENTITIES.session) {
|
||||
console.log(JSON.stringify(socket.handshake.query));
|
||||
// console.log(JSON.stringify(socket.handshake.query));
|
||||
console.log("projectToTrack: " + projectToTrack + ", socketProject: " + socket.handshake.query.sessionInfo?.projectID);
|
||||
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