Merge pull request #174 from overleaf/bg-error-on-missing-profile
error on missing profile
This commit is contained in:
@@ -87,10 +87,11 @@ if (process.env.DOCKER_RUNNER) {
|
|||||||
JSON.parse(require('fs').readFileSync(seccompProfilePath))
|
JSON.parse(require('fs').readFileSync(seccompProfilePath))
|
||||||
)
|
)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(
|
console.error(
|
||||||
error,
|
error,
|
||||||
`could not load seccom profile from ${seccompProfilePath}`
|
`could not load seccomp profile from ${seccompProfilePath}`
|
||||||
)
|
)
|
||||||
|
process.exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.path.synctexBaseDir = () => '/compile'
|
module.exports.path.synctexBaseDir = () => '/compile'
|
||||||
|
|||||||
Reference in New Issue
Block a user