Showing
1 changed file
with
1 additions
and
1 deletions
@@ -68,7 +68,7 @@ module.exports = (req, res, next) => { | @@ -68,7 +68,7 @@ module.exports = (req, res, next) => { | ||
68 | }, | 68 | }, |
69 | fields: Object.assign({ | 69 | fields: Object.assign({ |
70 | message: item.msg, | 70 | message: item.msg, |
71 | - stack: item.st.replace(/"/g, '') | 71 | + stack: item.st ? item.st.replace(/"/g, '') : '' |
72 | }, fields) | 72 | }, fields) |
73 | })); | 73 | })); |
74 | }); | 74 | }); |
-
Please register or login to post a comment