Răsfoiți Sursa

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

[web] remove unnecessary content from timeout errors

GitOrigin-RevId: c4913956e6f990afbd4c8f225c6d7c51e6d77e75
Brian Gough 4 ani în urmă
părinte
comite
89268bee2c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      services/web/frontend/js/ide/editor/Document.js

+ 1 - 1
services/web/frontend/js/ide/editor/Document.js

@@ -663,7 +663,7 @@ export default Document = (function () {
           op,
         })
         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) => {
         return this.ide.pushEvent('flush', {