Merge pull request #6485 from overleaf/bg-remove-op-from-timeout-error

[web] remove unnecessary content from timeout errors

GitOrigin-RevId: c4913956e6f990afbd4c8f225c6d7c51e6d77e75
This commit is contained in:
Brian Gough 2022-01-26 10:26:53 +00:00 committed by Copybot
parent b43a3a6861
commit 89268bee2c

View file

@ -663,7 +663,7 @@ export default Document = (function () {
op, op,
}) })
this.trigger('op:timeout') this.trigger('op:timeout')
return this._onError(new Error('op timed out'), { op }) return this._onError(new Error('op timed out'))
}) })
this.doc.on('flush', (inflightOp, pendingOp, version) => { this.doc.on('flush', (inflightOp, pendingOp, version) => {
return this.ide.pushEvent('flush', { return this.ide.pushEvent('flush', {