Merge branch 'master' into ho-dockerise

This commit is contained in:
Henry Oswald 2018-03-02 18:11:45 +00:00
commit 0589c8c544
3 changed files with 6 additions and 2 deletions

View file

@ -42,6 +42,10 @@ module.exports = CompileController =
status = "success"
if status == "failure"
logger.err project_id: request.project_id, outputFiles:outputFiles, "project failed to compile successfully, no output.pdf generated"
# log an error if any core files are found
for file in outputFiles
if file.path is "core"
logger.error project_id:request.project_id, req:req, outputFiles:outputFiles, "core file found in output"
timer.done()
res.status(code or 200).send {

View file

@ -19,7 +19,8 @@ module.exports =
internal:
clsi:
port: 3013
host: process.env["LISTEN_ADDRESS"] or "0.0.0.0"
host: process.env["LISTEN_ADDRESS"] or "localhost"
apis:
clsi:
url: "http://#{process.env['CLSI_HOST'] or 'localhost'}:3013"

View file

@ -24,7 +24,6 @@
"compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests",
"nodemon": "nodemon --config nodemon.json"
},
"author": "James Allen <james@sharelatex.com>",
"dependencies": {
"async": "0.2.9",
"body-parser": "^1.2.0",