-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Retain internal stack lines for errors, but color differently #2412
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
Comments
Could you provide more, uhm, context? |
I see what you did here :P Example:
Full stack trace:
I think that |
Yea I don't really know why we even do this. If anything, we should use colors and separators to highlight the most useful lines, but not remove anything. Other than AVA-introduced lines. IIRC this happens in https://github.com/avajs/ava/blob/master/lib/beautify-stack.js. |
@szmarczak so you filed #2110 last year, which is pretty similar 😉 There's a PR to fix that one (#2420) which is great. However I think we should still consider retaining the internal stack lines for all errors, whether or not they originated outside of user code, and use color to indicate their relevance. So we'll keep this issue open. |
I think this was addressed in #2420 as well. |
It would be quite useful because there's sometimes missing context.
The text was updated successfully, but these errors were encountered: