mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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
|
url:req.url
|
||||||
key: req.key
|
key: req.key
|
||||||
statusCode: req.statusCode
|
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"
|
logger.err err:err, req:req, res:res, "uncaught exception thrown on request"
|
||||||
requestDomain.run next
|
requestDomain.run next
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue