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

Handle SERVER_ERROR from Memcached #1024

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

grcooper
Copy link
Collaborator

As per the Memcached spec, SERVER_ERROR is a valid value to return, alongside the error message. This only seems to be valid for the Meta/Text protocols.

I have added support so things like Envoy that return SERVER_ERROR will be handled correctly and raised as an appropriate error.

I also added the debug gem to :development and :test since it is very useful to be able to add things like breakpoints while debugging.

@grcooper grcooper force-pushed the grcooper/server-error-handling branch 2 times, most recently from 5d9776c to b597dfa Compare January 31, 2025 21:40
@grcooper grcooper force-pushed the grcooper/server-error-handling branch from b597dfa to 8d45b9b Compare January 31, 2025 21:48
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.

1 participant