-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add more debug context in places errors are generated #673
Comments
In this case I think we could get the additional details by outputting debug events in the host when looking up a storage item fails, attaching the debug event to the host error. |
Here's another (not very helpful) error:
It would be much more useful if we got a clear message indicating why it wasn't authorized and how to fix it |
The plan here is actually to be making the errors a bit more coarse (i.e. less informative) but also to add more debug events, so that you get more information in the debug log while developing or running on an rpc server that's able to report debug events. |
I think this was largely done in #806 -- feel free to file followups if you see cases where there isn't quite enough context still. |
Some host errors are not directly actionable. For instance:
It indicates an entry is missing but it doesn't tell you which one, so that you can debug the problem further.
I suspect that's the case with many other errors.
It would help if we could add as much detail as possible to the error.
The text was updated successfully, but these errors were encountered: