Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

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 #

@jbiseda jbiseda force-pushed the jbiseda/batch_send-err branch from 10aa67f to afcdf7b Compare October 31, 2023 23:43
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 requested a review from ilya-bobyr November 1, 2023 00:52
@jbiseda jbiseda merged commit 3f805ad into solana-labs:master Nov 1, 2023
@jbiseda jbiseda deleted the jbiseda/batch_send-err branch November 1, 2023 17:21
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.

2 participants