Comments (4)
You shouldn't be hitting this error. Are you manually submitting or deleting ops (outside of ShareDB)?
from sharedb.
yes. i opened another issue where we discussed that years ago.
we have complex system and we sometimes get this error. but as i said, it is okay and i understand why we have it. unfortunately, our current approach doesn't allow to let ONLY sharedb modify data in the DB.
so, for now i want at least to be able to catch this error and log it, to gather info on how often customers face this error.
from sharedb.
If your aim is to just log the error server-side, the simplest thing is probably to listen for submitRequestEnd
, which is emitted with the request's error (if any).
from sharedb.
great. thanks!
i just tried it and was able to catch the error. that's all i need. thanks!
from sharedb.
Related Issues (20)
- How to pass options through to server? HOT 3
- Question client doc handleOp not debounce ?
- `TypeError Cannot read properties of null (reading 'callback')` when receiving subscribe response with no inflight subscribe HOT 4
- Feature suggestion: type accessors HOT 3
- Q: How multiple `Doc`s guarantee transactions? HOT 2
- Collaborative text field using react with debounce HOT 3
- How can I synchronize my article titles? HOT 6
- Avoid committing no-ops
- Feature Request: Support for Custom Type Projections in ShareDB HOT 3
- API Support for Presence Notifications HOT 6
- How do I implement custom messages, just like websockets HOT 2
- Consider Partysocket for Examples
- Access Control / Permissions HOT 2
- Example Proposal: Comments
- Messages artificially delayed when running `Backend` in the browser HOT 1
- how to reload/refresh ShareDB document? HOT 6
- failed process file : failed send RangeError: Invalid string length HOT 4
- The doc links are broken
- [Bug Report] Server-Side Data Inconsistencies When Rapidly Creating Nodes in ShareDB HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharedb.