Skip to content

Conversation

@DonutEspresso
Copy link
Member

@DonutEspresso DonutEspresso commented May 11, 2016

  • Fix long standing bug with double JSON stringifed errors.
  • When serializing to JSON, we now call toString() and VError should return the full context of the error message back. That's used as the 'message' when we have nested causes.

Blocker for restify/node-restify#1084

@coveralls
Copy link

coveralls commented May 11, 2016

Coverage Status

Coverage increased (+0.05%) to 98.02% when pulling 4f9137f on fix-toJSON into 0380481 on master.

@DonutEspresso
Copy link
Member Author

@yunong @micahr incorrect usage of JSON.stringify (including tests) causing some integration issues with restify 5.x. This fixes that along with the tests.

@DonutEspresso DonutEspresso merged commit 5610d51 into master May 13, 2016
@DonutEspresso DonutEspresso deleted the fix-toJSON branch August 17, 2016 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants