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

Bug: Color-eyre sections aren't shown unless they are from the topmost error in the error chain #195

Open
VorpalBlade opened this issue Aug 19, 2024 · 1 comment

Comments

@VorpalBlade
Copy link

VorpalBlade commented Aug 19, 2024

It seems custom sections aren't shown unless they are from the topmost level of error chaining. This makes them fairly useless for my use case, as it is often the lower layers that have useful suggestions for how to fix the issue.

How do I make this work properly?

@VorpalBlade
Copy link
Author

I thought I could perhaps iterate through the error chain and extract the sections myself (and move them to the top level), but that doesn't work either, since Handler has no public way of getting hold of the sections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant