mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-20 19:02:25 +00:00
log errors
GitOrigin-RevId: 3c507435956b3d312b00fefda1d4a996b6a45d62
This commit is contained in:
parent
b493f91c45
commit
ffd9ec5537
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