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

Propagate key-value db command handler errors #1261

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

ameba23
Copy link
Contributor

@ameba23 ameba23 commented Jan 24, 2025

Relates to #1260

This makes it so that errors from the key-value store command handler are sent through the response channel so they can be propagated to the caller of the public methods.

Without this, whichever database error occurs, the caller will always see Recv Error: channel closed.

@ameba23 ameba23 self-assigned this Jan 24, 2025
@ameba23 ameba23 merged commit 815de08 into master Jan 27, 2025
8 checks passed
@ameba23 ameba23 deleted the peg/kvdb-error-handling branch January 27, 2025 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants