...
|
...
|
@@ -78,7 +78,8 @@ exports.serverError = () => { |
|
|
udid,
|
|
|
code: err.code || 500,
|
|
|
path: `[${req.method}]${routeEncode.getRouter(req)}`,
|
|
|
url: encodeURIComponent(req.originalUrl)
|
|
|
url: encodeURIComponent(req.originalUrl),
|
|
|
ip: _.get(req, 'yoho.clientIp', '')
|
|
|
},
|
|
|
fields: {
|
|
|
message: err.message,
|
...
|
...
|
|