mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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
|
||||
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)))
|
||||
catch
|
||||
console.log "could not load seccom profile from #{seccomp_profile_path}"
|
||||
catch error
|
||||
console.log error, "could not load seccom profile from #{seccomp_profile_path}"
|
||||
|
||||
module.exports.path.synctexBaseDir = -> "/compile"
|
||||
|
||||
|
|
Loading…
Reference in a new issue