mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-06 14:11:45 +00: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:
parent
9644ff4f51
commit
0eaf6db2d6
1 changed files with 4 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue