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

surface errors in RPC methods #23

Open
wants to merge 17 commits into
base: developer
Choose a base branch
from

Conversation

jowparks
Copy link
Collaborator

Currently a few places in server crate there are errors being swallowed which can cause unexpected behavior. This causes the handlers to return errors if there is an error during the processing of endpoint.

One example of an error I encountered when debugging:
shared.rpc_handler.set_account_head(message) was failing
shared.rpc_handler.set_scanning(RpcSetScanningRequest { account: account.name.clone(), enabled: true, }) was then executed
Node then scanned entire account.

@jowparks jowparks force-pushed the oreowallet-error-surface branch from 60be90a to f465725 Compare October 18, 2024 22:42
@jowparks jowparks force-pushed the oreowallet-error-surface branch from c53ee3a to 0708e0e Compare October 23, 2024 19:19
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

Successfully merging this pull request may close these issues.

2 participants