feat(assist): extra extra debug log

This commit is contained in:
Alexander 2025-03-24 15:26:12 +01:00
parent a3893ff8ff
commit 60b4225159

View file

@ -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);