Can't see errors in templates
manuelmeurer opened this issue · comments
Thanks @manuelmeurer this is fixed in release 2.7.1 of Better Errors.
(In future, please attach screenshots directly in GitHub instead of linking to an external site. I downloaded and attached the ones you linked to in your PR description.)
Wow thanks for the super quick fix, @RobinDaugherty!
@RobinDaugherty With 2.7.1, I don't see the live shell for ActionView::Template::Error
errors:
With 2.6.0, it is there:
For non-ActionView::Template::Error
errors, 2.7.1 shows the live shell correctly.
Do you want me to create a new issue for this?
Unfortunately, I noticed this after the new version was live. It's because the backtrace frame containing the context from the template itself is only present in the cause
of the exception that was raised. I've opened #466 for this. I've been working on a big change that will allow us to navigate between cause
s (implementation of #464), which I hope to have out this week.