Ran
|
Files
56
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
github
feat: include `.cause` stacks in the error stack traces (#4829) * 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: https://github.com/pinojs/pino-std-serializers/pull/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 ✨ <git@joshuakgoldberg.com> * Revert "Apply suggestions from code review" This reverts commit 04f700820. --------- Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
1370 of 1558 branches covered (87.93%)
3563 of 3776 relevant lines covered (94.36%)
1249.9 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|