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 c053f50 commit f00e73aCopy full SHA for f00e73a
packages/app/src/app/overmind/effects/live/clients.ts
@@ -1,3 +1,4 @@
1
+import { logBreadcrumb } from '@codesandbox/common/lib/utils/analytics/sentry';
2
import { OTClient } from './ot/client';
3
4
export type SendOperation = (
@@ -42,6 +43,15 @@ class CodeSandboxOTClient extends OTClient {
42
43
sendOperation(revision, operation) {
44
this.onSendOperation(revision, operationToElixir(operation.toJSON())).then(
45
() => {
46
+ logBreadcrumb({
47
+ type: 'ot',
48
+ message: `Acknowledging ${JSON.stringify({
49
+ moduleShortid: this.moduleShortid,
50
+ revision,
51
+ operation,
52
+ })}`,
53
+ });
54
+
55
this.serverAck();
56
}
57
);
0 commit comments