GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — feat: include `.cause` stacks in the error stack traces by voxpelli · Pull Request #4829 · mochajs/mocha Conversation
|
|
This PR hasn't had any recent activity, and I'm labeling it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Still relevant |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
This PR looks good to me. We'd love for this to land. We had to implement some workarounds in the https://github.com/sequelize/sequelize test suites because our own error messages make heavy use of the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR hasn't had any recent activity, and I'm labeling it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Would still love to see this merged |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Same here |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR hasn't had any recent activity, and I'm labeling it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Labeling someone's work as stale because you haven't had time to review is not great :/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@juergba would be great if you could take a look at this. Node 16 is the oldest still supported version of Node so there are no supported versions anymore that do not have Error.cause |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR hasn't had any recent activity, and I'm labeling it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Still a lack of review, not this PR itself being stale |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Is this going to be merged? we want to start using the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🚀 excited to see cause support finally land!
We looked at this as a group, agreed with the general direction. Just a bit of edge case handling needed.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Included in v10.4.0 🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Append the cause stacks to the main stack trace It would be great to get the full error stack chain for errors with causes, especially as all current browsers and Node.js >=16 supports it, see eg https://v8.dev/features/error-cause and https://dev.to/voxpelli/pony-cause-1-0-error-causes-2l2o Eg. `pino` merged support for this as well: pinojs/pino-std-serializers#78 * Fix tests * Skip some string concatenation * Don't export needlessly + improve docs * Improved recursive filtering * Added loop protection * Same logic for "message" in cause trail as in top * Apply suggestions from code review Co-authored-by: Josh Goldberg ✨ <[email protected]> * Revert "Apply suggestions from code review" This reverts commit 04f7008. --------- Co-authored-by: Josh Goldberg ✨ <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
🚀 Feature: Add support for outputting Error cause
There was an error while loading. Please reload this page.