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
Reduce RPC error log to debug when domain-level RPC service returns an error #4579
Comments
To add some context: When an RPC errors, it should not show an error. Perhaps warn is more reasonable? |
I think we should try and look more carefully at RPC errors. |
I've written about the log level philosophy before. Maybe we should include it in the docs / RFC somewhere. INFO and above is what an average (non-dev) client / user will be reading. You should ask yourself whether a user would be interested in those messages. Basically, if they're recoverable errors, they just go to debug. ERRORs are things that are going to stop the app, break the app in some way, or worse, e.g. of data corruption. Everything else is DEBUG (interesting for devs) or TRACE (really detailed info, and used sparingly) |
So using this philosophy, I'd say they should be DEBUG most likely. |
These error messages should not be errors.
These are caused by a wallet requesting bad information
The text was updated successfully, but these errors were encountered: