-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve gRPC error handling and cancellation logic
- Add error handling for gRPC stream cancellation - Introduce status code checks for better error management - Refactor block fetching logic to include cancellation checks - Clean up redundant error handling code in the FetchBlockInfo function Signed-off-by: Sean Zheng <[email protected]>
- Loading branch information
1 parent
60a31d6
commit 7b4da21
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters