mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
changed error log message
This commit is contained in:
parent
5b49ec1144
commit
1ff5a5adb8
1 changed files with 6 additions and 1 deletions
|
@ -43,7 +43,12 @@ app.use (req, res, next) ->
|
|||
url:req.url
|
||||
key: req.key
|
||||
statusCode: req.statusCode
|
||||
err.domainEmitter.res = "to big to log"
|
||||
err =
|
||||
message: err.message
|
||||
stack: err.stack
|
||||
name: err.name
|
||||
type: err.type
|
||||
arguments: err.arguments
|
||||
logger.err err:err, req:req, res:res, "uncaught exception thrown on request"
|
||||
requestDomain.run next
|
||||
|
||||
|
|
Loading…
Reference in a new issue