needs hacked pacth in docker runner

wip

most tests pass
This commit is contained in:
Henry Oswald
2018-02-13 12:05:10 +00:00
parent b64106b730
commit 017ba3a4ec
19 changed files with 3008 additions and 1912 deletions

View File

@@ -34,11 +34,14 @@ module.exports = CompileController =
status = "error"
code = 500
logger.error err: error, project_id: request.project_id, "error running compile"
else
status = "failure"
for file in outputFiles
if file.path?.match(/output\.pdf$/)
status = "success"
if status == "failure"
logger.err project_id: request.project_id, outputFiles:outputFiles, "project failed to compile successfully, no output.pdf generated"
timer.done()
res.status(code or 200).send {