mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Revert "Revert "log errors""
This reverts commit 0db1d89ac75bf80e1d28dbd02110809fa24f4a9f. GitOrigin-RevId: 3911f3380767ae2e24b3694ef21c4eb73a7219b3
This commit is contained in:
parent
f326d632ab
commit
d0ada551fa
1 changed files with 5 additions and 1 deletions
|
@ -477,7 +477,11 @@ const ClsiManager = {
|
|||
return callback()
|
||||
}
|
||||
} catch (err) {
|
||||
// ignore errors here, which are very unlikely, and just attempt to set the root doc again
|
||||
// continue on errors, which are very unlikely, and just attempt to set the root doc again
|
||||
logger.error(
|
||||
{ err, project_id: project._id, rootDoc_id: project.rootDoc_id },
|
||||
'error validating rootDoc_id'
|
||||
)
|
||||
}
|
||||
ProjectRootDocManager.setRootDocAutomatically(project._id, callback)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue