Skip to content

Commit 41ba5a5

Browse files
committed
Clear error after logging
1 parent ec8c88f commit 41ba5a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

blocks/edit/prose/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ function registerErrorHandler(ydoc) {
124124
if (errorMap && errorMap.size > 0) {
125125
// eslint-disable-next-line no-console
126126
console.log('Error from server', JSON.stringify(errorMap));
127+
errorMap.clear();
127128
}
128129
});
129130
}

0 commit comments

Comments
 (0)