BetterErrors / BetterErrors/better_errors

Show chain of errors instead of only the most recent error

Open
#464 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
6.9k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.