Просмотр исходного кода

Revert "log errors"

This reverts commit 3c507435956b3d312b00fefda1d4a996b6a45d62.

GitOrigin-RevId: 0db1d89ac75bf80e1d28dbd02110809fa24f4a9f
Ersun Warncke 6 лет назад
Родитель
Сommit
575a6e82f9
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      services/web/app/src/Features/Compile/ClsiManager.js

+ 1 - 5
services/web/app/src/Features/Compile/ClsiManager.js

@@ -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)
   },