feat(assist): extra debug log

This commit is contained in:
Alexander 2025-03-24 15:19:07 +01:00
parent b09e2d1fc9
commit a3893ff8ff

View file

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