Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Conversation

rrw-zilliqa
Copy link
Contributor

Log an exception when an RPC error occurs, to cue observers in on where the issue might lie.
It would be better in future to decode these properly and return a meaningful error message in a well-formed JSON reply, but for now this is at least better than claiming that all errors are RPC format problems.
I have avoided returning valid JSON in case it causes us to leak security-sensitive data to callers.

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

Successfully merging this pull request may close these issues.

1 participant