mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
don't exit on error
This commit is contained in:
parent
7501046ebc
commit
5b49ec1144
1 changed files with 0 additions and 5 deletions
|
@ -45,11 +45,6 @@ app.use (req, res, next) ->
|
||||||
statusCode: req.statusCode
|
statusCode: req.statusCode
|
||||||
err.domainEmitter.res = "to big to log"
|
err.domainEmitter.res = "to big to log"
|
||||||
logger.err err:err, req:req, res:res, "uncaught exception thrown on request"
|
logger.err err:err, req:req, res:res, "uncaught exception thrown on request"
|
||||||
appIsOk = false
|
|
||||||
exit = ->
|
|
||||||
console.log "exit"
|
|
||||||
process.exit(1)
|
|
||||||
setTimeout exit, 20000
|
|
||||||
requestDomain.run next
|
requestDomain.run next
|
||||||
|
|
||||||
app.get "/project/:project_id/file/:file_id", keyBuilder.userFileKey, fileController.getFile
|
app.get "/project/:project_id/file/:file_id", keyBuilder.userFileKey, fileController.getFile
|
||||||
|
|
Loading…
Reference in a new issue