Skip to content

Commit

Permalink
Fix passing of non-enumerable Error properties from the child test ru…
Browse files Browse the repository at this point in the history
…nner (#1276)
  • Loading branch information
papandreou authored and Golmote committed Jan 31, 2018
1 parent b08cae5 commit 38df653
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/run-child.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ if (argv.language) {
}
process.send({success: true});
} catch (e) {
process.send({error: JSON.stringify(e)});
process.send({error: JSON.stringify({
message: e.message,
stack: e.stack
})});
}
}
});
Expand Down

0 comments on commit 38df653

Please sign in to comment.