Преглед изворни кода

Merge pull request #16322 from overleaf/dk-ignore-clsi-warning

[web] ignore noisy CLSI 404 warning

GitOrigin-RevId: d821496e2fb91ba184a32449986c128b9b079f3f
Jimmy Domagala-Tang пре 2 година
родитељ
комит
d94ca9679f
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      services/web/app/src/Features/Compile/CompileController.js

+ 8 - 0
services/web/app/src/Features/Compile/CompileController.js

@@ -637,6 +637,14 @@ module.exports = CompileController = {
               // Ignore noisy spurious error
               return
             }
+            if (
+              err instanceof RequestFailedError &&
+              ['sync-to-code', 'sync-to-pdf', 'output-file'].includes(action)
+            ) {
+              // Ignore noisy error
+              // https://github.com/overleaf/internal/issues/15201
+              return
+            }
             logger.warn(
               {
                 err,