We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b721f25 commit 384003bCopy full SHA for 384003b
packages/core/src/extensions/Collaboration/createCollaborationExtensions.ts
@@ -1,6 +1,6 @@
1
import Collaboration from "@tiptap/extension-collaboration";
2
-import { Awareness } from "y-protocols/awareness";
3
import CollaborationCursor from "@tiptap/extension-collaboration-cursor";
+import { Awareness } from "y-protocols/awareness";
4
import * as Y from "yjs";
5
6
export const createCollaborationExtensions = (collaboration: {
@@ -93,7 +93,9 @@ export const createCollaborationExtensions = (collaboration: {
93
);
94
95
if (!clientState) {
96
- throw new Error("Could not find client state for user");
+ throw new Error(
97
+ "Could not find client state for user, " + JSON.stringify(user)
98
+ );
99
}
100
101
const clientID = clientState[0];
0 commit comments