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

Include useful diagnostic information in errors #147

Open
fitzgen opened this issue Jun 29, 2023 · 1 comment
Open

Include useful diagnostic information in errors #147

fitzgen opened this issue Jun 29, 2023 · 1 comment

Comments

@fitzgen
Copy link
Member

fitzgen commented Jun 29, 2023

Right now, we just give error messages like BB(Block(0)), meaning that there is some error somewhere in block 0.

If one enables logging, then one gets messages like "block 0 does not end in a terminator" or something like that.

It would be nice if we put that information in the actual error itself, so folks didn't have to enable logging to figure out what went wrong.

@cfallin
Copy link
Member

cfallin commented Jun 29, 2023

Agreed -- this would be an easy starter PR if someone wants to take it on!

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

2 participants