Skip to content

Conversation

@DonutEspresso
Copy link
Member

Fixes stack frames that weren't being elided due to new WError constructor in verror@1.7.0. More details over in TritonDataCenter/node-verror#39.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage increased (+0.05%) to 98.068% when pulling fdd3daf on verror-1.7 into 0d5a583 on master.

"eslint": "^3.0.1",
"istanbul": "^0.4.2",
"jscs": "^3.0.7",
"jscs": "^2.11.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason 3.x seems to be crashing on me locally.

Copy link
Contributor

@yunong yunong Aug 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure your global version of jscs is updated to 3.x. That's what fixed it for me.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the makefile isn't calling the global jscs? Shouldn't make a diff.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage increased (+0.05%) to 98.068% when pulling 6987978 on verror-1.7 into 0d5a583 on master.

// will handle calling captureStackTrace, using arguments.callee to
// eliminate unnecessary stack frames.
WError.apply(self, args);
Error.captureStackTrace(self, HttpError);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have to do this explicitly now? Is this part of the new VError API?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The underlying API changed - check out the linked issue in the PR for more info (I filed an issue over with VError).

@DonutEspresso
Copy link
Member Author

Closing in favor of #53 since this was fixed in new verror patch release.

@DonutEspresso DonutEspresso deleted the verror-1.7 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.

4 participants