1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-22 10:56:59 +00:00

Revert "log errors"

This reverts commit 3c507435956b3d312b00fefda1d4a996b6a45d62.

GitOrigin-RevId: 0db1d89ac75bf80e1d28dbd02110809fa24f4a9f
This commit is contained in:
Ersun Warncke 2020-02-05 08:49:04 -04:00 committed by Copybot
parent 93c8779ff7
commit 575a6e82f9

View file

@ -477,11 +477,7 @@ const ClsiManager = {
return callback()
}
} catch (err) {
// 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'
)
// ignore errors here, which are very unlikely, and just attempt to set the root doc again
}
ProjectRootDocManager.setRootDocAutomatically(project._id, callback)
},