mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
don't report compile timeouts to sentry
just log them instead
This commit is contained in:
parent
8892a50486
commit
7d93e77102
1 changed files with 2 additions and 1 deletions
|
@ -20,12 +20,13 @@ module.exports = CompileController =
|
||||||
else if error?.validate
|
else if error?.validate
|
||||||
status = "validation-#{error.validate}"
|
status = "validation-#{error.validate}"
|
||||||
else if error?
|
else if error?
|
||||||
logger.error err: error, project_id: request.project_id, "error running compile"
|
|
||||||
if error.timedout
|
if error.timedout
|
||||||
status = "timedout"
|
status = "timedout"
|
||||||
|
logger.log err: error, project_id: request.project_id, "timeout running compile"
|
||||||
else
|
else
|
||||||
status = "error"
|
status = "error"
|
||||||
code = 500
|
code = 500
|
||||||
|
logger.error err: error, project_id: request.project_id, "error running compile"
|
||||||
else
|
else
|
||||||
status = "failure"
|
status = "failure"
|
||||||
for file in outputFiles
|
for file in outputFiles
|
||||||
|
|
Loading…
Reference in a new issue