mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:53:44 -05:00
add error catch to settings.defaults
This commit is contained in:
parent
3640326a26
commit
5c3c39c743
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ if process.env["DOCKER_RUNNER"]
|
||||||
try
|
try
|
||||||
seccomp_profile_path = Path.resolve(__dirname + "/../seccomp/clsi-profile.json")
|
seccomp_profile_path = Path.resolve(__dirname + "/../seccomp/clsi-profile.json")
|
||||||
module.exports.clsi.seccomp_profile = JSON.stringify(JSON.parse(require("fs").readFileSync(seccomp_profile_path)))
|
module.exports.clsi.seccomp_profile = JSON.stringify(JSON.parse(require("fs").readFileSync(seccomp_profile_path)))
|
||||||
catch
|
catch error
|
||||||
console.log "could not load seccom profile from #{seccomp_profile_path}"
|
console.log error, "could not load seccom profile from #{seccomp_profile_path}"
|
||||||
|
|
||||||
module.exports.path.synctexBaseDir = -> "/compile"
|
module.exports.path.synctexBaseDir = -> "/compile"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue