fixed where project to large code is passed from

This commit is contained in:
Henry Oswald 2014-11-27 16:22:39 +00:00
parent fa755c6521
commit 20a5ad6e27

View file

@ -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"