diff --git a/services/clsi/app/coffee/CompileController.coffee b/services/clsi/app/coffee/CompileController.coffee index 455292a6c6..91137f6d13 100644 --- a/services/clsi/app/coffee/CompileController.coffee +++ b/services/clsi/app/coffee/CompileController.coffee @@ -40,8 +40,10 @@ module.exports = CompileController = 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" + # log an error if any core files are found for file in outputFiles if file.path is "core" diff --git a/services/clsi/config/settings.defaults.coffee b/services/clsi/config/settings.defaults.coffee index 734adddbba..c29829eed7 100644 --- a/services/clsi/config/settings.defaults.coffee +++ b/services/clsi/config/settings.defaults.coffee @@ -45,5 +45,4 @@ if process.env["COMMAND_RUNNER"] module.exports.path.sandboxedCompilesHostDir = process.env["COMPILES_HOST_DIR"] - #TODO this can be deleted once module is merged in module.exports.path.synctexBinHostPath = process.env["SYNCTEX_BIN_HOST_PATH"] diff --git a/services/clsi/package.json b/services/clsi/package.json index 4deae83e0f..ae379558e6 100644 --- a/services/clsi/package.json +++ b/services/clsi/package.json @@ -24,6 +24,7 @@ "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests", "nodemon": "nodemon --config nodemon.json" }, + "author": "James Allen ", "dependencies": { "async": "0.2.9", "body-parser": "^1.2.0",