mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fixed where project to large code is passed from
This commit is contained in:
parent
fa755c6521
commit
20a5ad6e27
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module.exports = ClsiManager =
|
||||||
if 200 <= response.statusCode < 300
|
if 200 <= response.statusCode < 300
|
||||||
callback null, body
|
callback null, body
|
||||||
else if response.statusCode == 413
|
else if response.statusCode == 413
|
||||||
callback null, "project-too-large"
|
callback null, compile:status:"project-too-large"
|
||||||
else
|
else
|
||||||
error = new Error("CLSI returned non-success code: #{response.statusCode}")
|
error = new Error("CLSI returned non-success code: #{response.statusCode}")
|
||||||
logger.error err: error, project_id: project_id, "CLSI returned failure code"
|
logger.error err: error, project_id: project_id, "CLSI returned failure code"
|
||||||
|
|
Loading…
Reference in a new issue