Showing
1 changed file
with
2 additions
and
1 deletions
@@ -124,7 +124,8 @@ exports.serverError = () => { | @@ -124,7 +124,8 @@ exports.serverError = () => { | ||
124 | uid, | 124 | uid, |
125 | udid, | 125 | udid, |
126 | code: err.code || 500, | 126 | code: err.code || 500, |
127 | - path: `[${req.method}]${routeEncode.getRouter(req)}` | 127 | + path: `[${req.method}]${routeEncode.getRouter(req)}`, |
128 | + url: encodeURIComponent(req.originalUrl) | ||
128 | }, | 129 | }, |
129 | fields: { | 130 | fields: { |
130 | message: err.message, | 131 | message: err.message, |
-
Please register or login to post a comment