Don't display custom stack traces as a string property

master
Sven Slootweg 8 years ago
parent 90d576f08c
commit 78a6887845

@ -39,7 +39,7 @@ function renderError(err) {
}
var properties = Object.keys(err).map(function (key) {
if (["name", "message"].indexOf(key) === -1) {
if (["name", "message", "stack"].indexOf(key) === -1) {
return {
key: key,
value: err[key]

@ -38,7 +38,7 @@ function renderError(err) {
}
let properties = Object.keys(err).map((key) => {
if (["name", "message"].indexOf(key) === -1) {
if (["name", "message", "stack"].indexOf(key) === -1) {
return {
key: key,
value: err[key]

Loading…
Cancel
Save