Skip to content

Commit

Permalink
debug: colab logs
Browse files Browse the repository at this point in the history
  • Loading branch information
matevszm committed Nov 13, 2024
1 parent b752803 commit d1fc2ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/hooks/useCollabSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,14 @@ export function useCollabSocket(
true // volatile
);
} else {
console.error('Failed attempt to broadcast mouse location');
console.error('Failed attempt to broadcast mouse location', {
socket,
socketId: socket?.id,
excalidrawApi,
});
}
},
[broadcastSocketData, excalidrawApi, socket?.id, user?.displayName]
[broadcastSocketData, excalidrawApi, socket, user?.displayName]
);

const broadcastCanvas = useCallback(
Expand Down

0 comments on commit d1fc2ec

Please sign in to comment.