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

handle expect and unwrap for RPC to ensure no panic #830

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Conversation

baichuan3
Copy link
Collaborator

Resolve #819 and part of #827

Handle expect and unwrap for RPC to ensure no panic occurs, and avoid the RPC returning nothing.

@vercel
Copy link

vercel bot commented Sep 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
rooch ⬜️ Ignored (Inspect) Sep 19, 2023 3:11am

@jolestar
Copy link
Contributor

Need to add a test case for the balance RPC.

@jolestar jolestar merged commit c37888f into main Sep 19, 2023
@jolestar jolestar deleted the handle_panic branch September 19, 2023 05:55
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.

[RPC] RPC server handle panic exceptions to output error msg
2 participants