mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
removed lines which may be causing issue with domain
This commit is contained in:
parent
ce67c8c655
commit
1f1f535c8b
1 changed files with 0 additions and 2 deletions
|
@ -37,10 +37,8 @@ app.use (req, res, next) ->
|
|||
requestDomain.add req
|
||||
requestDomain.add res
|
||||
requestDomain.on "error", (err)->
|
||||
metrics.inc "err.uncaught"
|
||||
setTimeout(->
|
||||
if !res.headerSent
|
||||
logger.log err:err, "sending 500 our as header has not been sent yet for uncaught exception"
|
||||
res.send(500)
|
||||
, 3000)
|
||||
logger = require('logger-sharelatex')
|
||||
|
|
Loading…
Reference in a new issue