Преглед изворни кода

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 година
родитељ
комит
89268bee2c
1 измењених фајлова са 1 додато и 1 уклоњено
  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', {