Skip to content

fix: catch network exceptions in Solana RPC calls to prevent unhandled crashes#743

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/ssl-handshake-crash
May 20, 2026
Merged

fix: catch network exceptions in Solana RPC calls to prevent unhandled crashes#743
bmc08gt merged 1 commit into
code/cashfrom
fix/ssl-handshake-crash

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 20, 2026

Wrap all makeRequest calls in runCatching so SSLHandshakeException and other transient network errors become Result.failure instead of crashing. Add SSLException and SocketException to ignored/network error lists in ErrorUtils so they are silently handled.

…d crashes

Wrap all makeRequest calls in runCatching so SSLHandshakeException and
other transient network errors become Result.failure instead of crashing.
Add SSLException and SocketException to ignored/network error lists in
ErrorUtils so they are silently handled.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 20, 2026
@github-actions github-actions Bot added type: fix Bug fix area: crypto Solana, keys, encryption, signing labels May 20, 2026
@bmc08gt bmc08gt added the area: network gRPC, connectivity, API, exchange rates label May 20, 2026
@bmc08gt bmc08gt merged commit 3008d01 into code/cash May 20, 2026
3 checks passed
@bmc08gt bmc08gt deleted the fix/ssl-handshake-crash branch May 20, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: crypto Solana, keys, encryption, signing area: network gRPC, connectivity, API, exchange rates type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant