ITADN

Invalid op submitted. Op version newer than current snapshot

#654ClosedPodviaznikovPavlo 创建于 2024-05-15
hi guys. i'm facing with this error: Invalid op submitted. Op version newer than current snapshot The error itself is ok, i understand why i get it. The question is: how to catch this error? Currently i see that submit-request.js logs it to console. But i want to catch this error and log it. I've checked available middleware and also tried to add .on('error') listened to new ShareDB instance. But i cannot catch it. The only place where i get it is client. But i need to catch it in nodejs. Any thoughts? <img width="661" alt="image" src="https://github.com/share/sharedb/assets/655875/265473d5-5d3b-4ddc-9976-060d0d92d227">
关闭于 2024-05-15 4 条评论