-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handle missing stack when throwing recursion errors #401
Conversation
@@ -109,6 +109,7 @@ const globalObject = require("@sinonjs/commons").global; | |||
* @property {number} createdAt | |||
* @property {boolean} immediate | |||
* @property {number} id | |||
* @property {Error} [error] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is how you say optional
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so
I think this, release, then figure out what to do in #398 (I'm not totally happy with it) |
I'll rebase both to trigger CI 🙂 |
f960f35
to
e4d9c9c
Compare
Codecov Report
@@ Coverage Diff @@
## master #401 +/- ##
==========================================
+ Coverage 93.85% 93.87% +0.02%
==========================================
Files 1 1
Lines 586 588 +2
==========================================
+ Hits 550 552 +2
Misses 36 36
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This is for #398 which I think we should land and release as 8.0.1. Guards against the error and falls back to the behavior of v7