Skip to content
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

Show chain of errors instead of only the most recent error #464

Open
RobinDaugherty opened this issue May 13, 2020 · 0 comments
Open

Show chain of errors instead of only the most recent error #464

RobinDaugherty opened this issue May 13, 2020 · 0 comments

Comments

@RobinDaugherty
Copy link
Member

Currently Better Errors is only able to show a single error. Ruby has supported error cause for many years now. For example, the rescuing of an error might cause a different error to be raised. It would be very helpful to allow developers to navigate the chain of these.

As of #459 we only show the most recent error, not its cause. But this causes a problem for some errors (especially Rails ActionView templates) where the actual useful error is the second error in the chain, not the most recent.

This will require some changes to the user interface, allowing navigation between errors in the chain and focusing on the backtrace items within each.

@RobinDaugherty RobinDaugherty changed the title Show chain of error causes Show chain of errors instead of only the most recent error May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant