mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 12:24:25 +02:00
Merge pull request #1703 from sharelatex/bg-handle-send-before-rejoin
handle error gracefully when client has not yet joined project GitOrigin-RevId: 21e337f6adbbb23a2126eaf4fa026c78178efef0
This commit is contained in:
@@ -665,6 +665,10 @@ define([
|
||||
}
|
||||
meta.doc_id = this.doc_id
|
||||
sl_console.log('ShareJS error', error, meta)
|
||||
if (error.message === 'no project_id found on client') {
|
||||
sl_console.log('ignoring error, will wait to join project')
|
||||
return
|
||||
}
|
||||
if (typeof ga === 'function') {
|
||||
ga(
|
||||
'send',
|
||||
|
||||
Reference in New Issue
Block a user