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

improve batch_send error handling #33936

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

jbiseda
Copy link
Contributor

@jbiseda jbiseda commented Oct 31, 2023

Problem

batch_send() and multi_target_send() error handling is fragile.

Summary of Changes

Update error handling to match statement. Adding new error return codes will cause compilation failure.

Fixes #

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #33936 (afcdf7b) into master (136ab21) will decrease coverage by 0.1%.
The diff coverage is 71.0%.

@@            Coverage Diff            @@
##           master   #33936     +/-   ##
=========================================
- Coverage    81.9%    81.9%   -0.1%     
=========================================
  Files         809      809             
  Lines      218241   218255     +14     
=========================================
- Hits       178794   178773     -21     
- Misses      39447    39482     +35     

@jbiseda jbiseda marked this pull request as ready for review November 1, 2023 00:52
@jbiseda jbiseda merged commit 3f805ad into solana-labs:master Nov 1, 2023
32 checks passed
@jbiseda jbiseda deleted the jbiseda/batch_send-err branch November 1, 2023 17:21
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