Conversation
|
Breaks when running the tests with Phantom.js, looking into it. |
|
Note that the full versions of the traces that are captured this way won't be identical to the ones Bluebird would do with On that note -- how about letting |
|
Implemented that idea on the branch as well. |
| }); | ||
| }); | ||
|
|
||
| it('should magically change', function () { |
There was a problem hiding this comment.
Via test/external.spec.js
|
This seems like at really good tradeoff, I also like the idea of having one debug flag - it is not a hard contract, we can change that without a major version. |
|
The drop in coverage was due to another coveralls fluke (lemurheavy/coveralls-public#750). It looks good again after I restarted it. |
|
👍 |
Attach a stack to all non-oathbreakable promises so that (a patched) Bluebird will render a long stack trace.
Perf. penalty seems to be about 3-4% according to chewbacca, whereas always forcing
BLUEBIRD_DEBUG=yesregresses 22-25%.